From d4e3a7a3b1cff6885978093d5cc125e38cc397b3 Mon Sep 17 00:00:00 2001 From: bd Date: Tue, 1 Apr 2025 22:06:42 -0400 Subject: Finish adding initial tests for full pipeline --- src/sim/mm.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/sim/mm.cc') 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; -- cgit v1.2.3