diff options
| author | Julian Blake Kongslie | 2022-11-11 16:29:22 -0800 |
|---|---|---|
| committer | Julian Blake Kongslie | 2022-11-11 16:29:22 -0800 |
| commit | a2c9de8fcc63a954b6486846b80c402a85d956ca (patch) | |
| tree | dcfffddafa0edff1d63bb4cfca5609a556ae70a6 /main.cpp | |
| parent | Ignore pipetrace files (diff) | |
| download | biggolf-a2c9de8fcc63a954b6486846b80c402a85d956ca.tar.xz | |
Multi-word fetch bundles and icache with realistic dram latency
Diffstat (limited to '')
| -rw-r--r-- | main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -79,7 +79,7 @@ int main(int argc, const char *argv[]) { | |||
| 79 | std::ofstream pt("bug.pt"); | 79 | std::ofstream pt("bug.pt"); |
| 80 | infra::pt::ptfile = &pt; | 80 | infra::pt::ptfile = &pt; |
| 81 | 81 | ||
| 82 | while (!core.checker.done()) { | 82 | for (unsigned int cycles = 0; !core.checker.done() && cycles < 500000; ++cycles) { |
| 83 | // if (!checker.ctlregs[HALTED]) { | 83 | // if (!checker.ctlregs[HALTED]) { |
| 84 | // if (checker.inst.final_address.has_value()) | 84 | // if (checker.inst.final_address.has_value()) |
| 85 | // std::cout << fmt::format("{:05o} {:01o} {:04o} {:04o} {:005o}\n", checker.pc, checker.link, checker.acc, checker.mq, *checker.inst.final_address); | 85 | // std::cout << fmt::format("{:05o} {:01o} {:04o} {:04o} {:005o}\n", checker.pc, checker.link, checker.acc, checker.mq, *checker.inst.final_address); |
