summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbd <bdunahu@operationnull.com>2025-03-29 20:52:56 -0400
committerbd <bdunahu@operationnull.com>2025-03-29 20:52:56 -0400
commit1250c3765f59801d060152d5f6eed0a9faa11b50 (patch)
treecc3dc30f5a4b440d930f99e0996ac300b7c878a3 /src
parent4055b56b5d06e0188d764380d67e40b5b07359ac (diff)
Fix typo which allowed FETCH output to go to EXECUTE
Diffstat (limited to 'src')
-rw-r--r--src/sim/id.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sim/id.cc b/src/sim/id.cc
index 68ac555..e18ef14 100644
--- a/src/sim/id.cc
+++ b/src/sim/id.cc
@@ -22,7 +22,7 @@ Response ID::advance(InstrDTO &next_instr, Response p)
n = (p != OK || this->status != OK) ? BLOCKED : OK;
// the power of consent
- n = this->next->advance(next_instr, n);
+ n = this->next->advance(curr_instr, n);
}
void ID::get_instr_fields(