diff options
author | bd <bdunahu@operationnull.com> | 2025-04-17 15:30:26 -0400 |
---|---|---|
committer | bd <bdunahu@operationnull.com> | 2025-04-17 15:30:26 -0400 |
commit | 2c94ea91b1c5a0d7c0ebb0ab229950f7c849909a (patch) | |
tree | c1fe016db8127633f9d14aac696ef9040967228d /src/sim/controller.cc | |
parent | 430986b4b1ee1013db070991ce289176f48fa8e8 (diff) |
The pipeline says some things and there are numbers
Diffstat (limited to 'src/sim/controller.cc')
-rw-r--r-- | src/sim/controller.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sim/controller.cc b/src/sim/controller.cc index 65e5676..9256151 100644 --- a/src/sim/controller.cc +++ b/src/sim/controller.cc @@ -11,6 +11,7 @@ Controller::Controller(Stage *stage, Storage *storage, bool is_pipelined) this->pc = 0x0; this->checked_out = {}; this->gprs = {0}; + this->gprs.at(2) = MEM_WORDS; // set the stack pointer // grant side-door access this->id = SIDE; } |