FileIO Schema started
This commit is contained in:
@@ -86,12 +86,12 @@ void Core::printStats() const {
|
||||
for (unsigned i = 0; i < w.size(); ++i)
|
||||
insts += w[i].insts;
|
||||
|
||||
cout << "Total steps: " << steps << endl;
|
||||
cerr << "Total steps: " << steps << endl;
|
||||
cout << "Total insts: " << insts << endl;
|
||||
for (unsigned i = 0; i < w.size(); ++i) {
|
||||
cout << "=== Warp " << i << " ===" << endl;
|
||||
w[i].printStats();
|
||||
}
|
||||
// for (unsigned i = 0; i < w.size(); ++i) {
|
||||
// cout << "=== Warp " << i << " ===" << endl;
|
||||
// w[i].printStats();
|
||||
// }
|
||||
}
|
||||
|
||||
Warp::Warp(Core *c, Word id) :
|
||||
|
||||
BIN
emulator/core.o
BIN
emulator/core.o
Binary file not shown.
Binary file not shown.
@@ -103,6 +103,8 @@ int emu_main(int argc, char **argv) {
|
||||
std::cout << "ABOUT TO START\n";
|
||||
while (core.running()) { console.poll(); core.step(); }
|
||||
|
||||
printf("-----------------------------------\n\n\n\n");
|
||||
|
||||
if (showStats) core.printStats();
|
||||
|
||||
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,4 +1,4 @@
|
||||
echo start > results.txt
|
||||
|
||||
# echo ../kernel/vortex_test.hex
|
||||
./harptool -E -a rv32i --core ../runtime/mains/dev/vx_dev_main.hex -s -b 1> emulator.debug
|
||||
./harptool -E -a rv32i --core ../runtime/mains/nlTest/vx_nl_main.hex -s -b 1> emulator.debug
|
||||
|
||||
Reference in New Issue
Block a user