FileIO Schema started

This commit is contained in:
felsabbagh3
2019-11-12 00:31:30 -05:00
parent 7ed88ce4c1
commit ef83285c6c
23 changed files with 81258 additions and 26 deletions

View File

@@ -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();

View File

@@ -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