diff options
author | bd <bdunahu@operationnull.com> | 2025-04-01 22:06:42 -0400 |
---|---|---|
committer | bd <bdunahu@operationnull.com> | 2025-04-01 22:06:42 -0400 |
commit | d4e3a7a3b1cff6885978093d5cc125e38cc397b3 (patch) | |
tree | 92caf723e7eadfa063fafe2291ca6ec4ed9513e0 /src/sim/mm.cc | |
parent | 68324683cde10c636a4a602644f3e64d24b0e412 (diff) |
Finish adding initial tests for full pipeline
Diffstat (limited to 'src/sim/mm.cc')
-rw-r--r-- | src/sim/mm.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sim/mm.cc b/src/sim/mm.cc index c83ae7d..07a362b 100644 --- a/src/sim/mm.cc +++ b/src/sim/mm.cc @@ -15,7 +15,7 @@ void MM::advance_helper() this->status = this->storage->read_word( this->id, this->curr_instr->get_s1(), data); if (this->status == OK) { - this->curr_instr->set_s2(data); + this->curr_instr->set_s1(data); } else this->status = STALLED; break; |