From 598da346f59503442ba0b4badfd9ac8b58af4a89 Mon Sep 17 00:00:00 2001 From: Siddarth-Suresh <65844402+Siddarth-Suresh@users.noreply.github.com> Date: Mon, 31 Mar 2025 13:45:56 -0400 Subject: MEM WB stage --- src/sim/controller.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/sim/controller.cc') diff --git a/src/sim/controller.cc b/src/sim/controller.cc index 06591af..89ff4e7 100644 --- a/src/sim/controller.cc +++ b/src/sim/controller.cc @@ -31,10 +31,11 @@ int Controller::get_pc() { return this->pc; } InstrDTO *Controller::advance(Response p) { InstrDTO *r; - r = this->next->advance(p); ++this->clock_cycle; return r; } -void Controller::advance_helper() {} +void Controller::advance_helper() { + // TODO: check halt condition and call UI to refresh +} -- cgit v1.2.3