diff options
author | bd <bdunahu@operationnull.com> | 2025-03-29 20:52:56 -0400 |
---|---|---|
committer | bd <bdunahu@operationnull.com> | 2025-03-29 20:52:56 -0400 |
commit | 1250c3765f59801d060152d5f6eed0a9faa11b50 (patch) | |
tree | cc3dc30f5a4b440d930f99e0996ac300b7c878a3 /src/sim | |
parent | 4055b56b5d06e0188d764380d67e40b5b07359ac (diff) |
Fix typo which allowed FETCH output to go to EXECUTE
Diffstat (limited to 'src/sim')
-rw-r--r-- | src/sim/id.cc | 2 |
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( |