simX within 30% cycles of the RTL for matAdd

This commit is contained in:
felsabbagh3
2019-11-11 00:37:34 -05:00
parent 92e88a7bb2
commit f717ff56da
9 changed files with 605 additions and 73 deletions

View File

@@ -104,6 +104,24 @@ int emu_main(int argc, char **argv) {
// core.w[0].pc = 0x8000007c; // If I want to start at a specific location
std::cout << "ABOUT TO START\n";
// bool count_down = false;
// int cycles_left;
// while (!count_down || (count_down && (cycles_left == 0)))
// {
// if (count_down)
// {
// cycles_left--;
// }
// console.poll();
// core.step();
// bool run = core.running();
// if (!run)
// {
// count_down = true;
// }
// }
while (core.running()) { console.poll(); core.step(); }
if (showStats) core.printStats();