diff options
author | bd <bdunaisky@umass.edu> | 2025-04-01 02:12:15 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-01 02:12:15 +0000 |
commit | 6f536bd1bd1abab307c79d688c993e930cf7c250 (patch) | |
tree | 6132673f5aa85f2488d6f7de77fb33538b7320d3 /src/sim/controller.cc | |
parent | 44cb9d396b909c84ef7ad3338e0a12cfcc082748 (diff) | |
parent | 574212dafcf1c4bdb7d5e6aaa577b74345988d67 (diff) |
Merge pull request #45 from bdunahu/dev-sid
MEM WB stage
Diffstat (limited to 'src/sim/controller.cc')
-rw-r--r-- | src/sim/controller.cc | 5 |
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 +} |