summaryrefslogtreecommitdiff
path: root/src/sim/controller.cc
diff options
context:
space:
mode:
authorbd <bdunahu@operationnull.com>2025-03-31 23:51:08 -0400
committerbd <bdunahu@operationnull.com>2025-03-31 23:51:08 -0400
commita4e0e5ff6208205f6ebd980f9ed1eca91dcc4311 (patch)
treeb9530876cabcb9041b925d795778237757bc797f /src/sim/controller.cc
parent2235e18ad81be4ed7097cd9cab93e35a990ec327 (diff)
parent574212dafcf1c4bdb7d5e6aaa577b74345988d67 (diff)
Merge remote-tracking branch 'origin/dev-sid' into bdunahu
Diffstat (limited to 'src/sim/controller.cc')
-rw-r--r--src/sim/controller.cc5
1 files changed, 3 insertions, 2 deletions
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
+}