From a2c9de8fcc63a954b6486846b80c402a85d956ca Mon Sep 17 00:00:00 2001 From: Julian Blake Kongslie Date: Fri, 11 Nov 2022 16:29:22 -0800 Subject: Multi-word fetch bundles and icache with realistic dram latency --- main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main.cpp') diff --git a/main.cpp b/main.cpp index 4fec1f4..226fc31 100644 --- a/main.cpp +++ b/main.cpp @@ -79,7 +79,7 @@ int main(int argc, const char *argv[]) { std::ofstream pt("bug.pt"); infra::pt::ptfile = &pt; - while (!core.checker.done()) { + for (unsigned int cycles = 0; !core.checker.done() && cycles < 500000; ++cycles) { // if (!checker.ctlregs[HALTED]) { // if (checker.inst.final_address.has_value()) // std::cout << fmt::format("{:05o} {:01o} {:04o} {:04o} {:005o}\n", checker.pc, checker.link, checker.acc, checker.mq, *checker.inst.final_address); -- cgit v1.2.3