FileIO Schema started
This commit is contained in:
@@ -21,6 +21,7 @@
|
||||
#include "include/args.h"
|
||||
#include "include/help.h"
|
||||
|
||||
#include <sys/stat.h>
|
||||
|
||||
//////////////
|
||||
/////////////
|
||||
@@ -122,6 +123,10 @@ int emu_main(int argc, char **argv) {
|
||||
// count_down = true;
|
||||
// }
|
||||
// }
|
||||
|
||||
struct stat hello;
|
||||
fstat(0, &hello);
|
||||
|
||||
while (core.running()) { console.poll(); core.step(); }
|
||||
|
||||
if (showStats) core.printStats();
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
echo start > results.txt
|
||||
|
||||
# echo ../kernel/vortex_test.hex
|
||||
make clean
|
||||
make
|
||||
echo "Fasten your seatbelts ladies and gentelmen!!"
|
||||
cd obj_dir && ./Vcache_simX -E -a rv32i --core ../../runtime/mains/dev/vx_dev_main.hex -s -b 1> emulator.debug
|
||||
printf "Fasten your seatbelts ladies and gentelmen!!\n\n\n\n"
|
||||
cd obj_dir && ./Vcache_simX -E -a rv32i --core ../../runtime/mains/nlTest/vx_nl_main.hex -s -b 1> emulator.debug
|
||||
|
||||
Reference in New Issue
Block a user