summaryrefslogtreecommitdiff
path: root/main.cpp
diff options
context:
space:
mode:
authorJulian Blake Kongslie2022-11-11 16:29:22 -0800
committerJulian Blake Kongslie2022-11-11 16:29:22 -0800
commita2c9de8fcc63a954b6486846b80c402a85d956ca (patch)
treedcfffddafa0edff1d63bb4cfca5609a556ae70a6 /main.cpp
parentIgnore pipetrace files (diff)
downloadbiggolf-a2c9de8fcc63a954b6486846b80c402a85d956ca.tar.xz
Multi-word fetch bundles and icache with realistic dram latency
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp2
1 files changed, 1 insertions, 1 deletions
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[]) {
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);