diff options
author | bd <bdunahu@operationnull.com> | 2025-04-01 23:22:12 -0400 |
---|---|---|
committer | bd <bdunahu@operationnull.com> | 2025-04-01 23:22:12 -0400 |
commit | 9e30d0054e7b3eb10e4e464b12ae3cc1eecc9585 (patch) | |
tree | 5f49ef6a4e6f7529ac0d92fa7c5f3326d4140066 /src/sim/controller.cc | |
parent | 05a873027d01cdf6318d67b77a4eaad120b05527 (diff) |
Fix bug with decode pushing checked_out when delayed with RAW
Diffstat (limited to 'src/sim/controller.cc')
-rw-r--r-- | src/sim/controller.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sim/controller.cc b/src/sim/controller.cc index cf8d02d..65e5676 100644 --- a/src/sim/controller.cc +++ b/src/sim/controller.cc @@ -19,7 +19,7 @@ void Controller::run_for(int number) { int i; for (i = 0; i < number; ++i) { - this->advance(OK); + this->advance(WAIT); } } @@ -38,7 +38,7 @@ InstrDTO *Controller::advance(Response p) InstrDTO *r; r = this->next->advance(p); ++this->clock_cycle; - + return r; } |