summaryrefslogtreecommitdiff
path: root/src/if.cc
diff options
context:
space:
mode:
authorbd <bdunahu@operationnull.com>2025-04-23 00:47:24 -0400
committerbd <bdunahu@operationnull.com>2025-04-23 00:47:24 -0400
commit8e33ba4499bced747f66ed436211876d220342d6 (patch)
tree62b4a9ecd51fdc69b5f617163319c4e3eb93f8ea /src/if.cc
parent051041c9cbe0752a50ac1a464df1c554b10cde0c (diff)
Rename Response.WAIT to READY, delete BLOCKED
Diffstat (limited to 'src/if.cc')
-rw-r--r--src/if.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/if.cc b/src/if.cc
index 62a105c..5f07ee2 100644
--- a/src/if.cc
+++ b/src/if.cc
@@ -25,7 +25,7 @@ InstrDTO *IF::advance(Response p)
InstrDTO *r = nullptr;
this->advance_helper();
- if (this->curr_instr != nullptr && p == WAIT) {
+ if (this->curr_instr != nullptr && p == READY) {
// don't increment PC if the PC was just set by wb
if (this->curr_instr->is_squashed != 1)
++this->pc;