From 2c94ea91b1c5a0d7c0ebb0ab229950f7c849909a Mon Sep 17 00:00:00 2001 From: bd Date: Thu, 17 Apr 2025 15:30:26 -0400 Subject: The pipeline says some things and there are numbers --- src/sim/controller.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'src/sim/controller.cc') 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; } -- cgit v1.2.3