summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--inc/id.h2
-rw-r--r--src/sim/wb.cc1
2 files changed, 1 insertions, 2 deletions
diff --git a/inc/id.h b/inc/id.h
index ed13771..c1810ae 100644
--- a/inc/id.h
+++ b/inc/id.h
@@ -67,7 +67,7 @@ class ID : public Stage
* @param the resulting mnemonic.
*/
void get_instr_fields(signed int &s1, signed int &s2, signed int &s3, Mnemonic &m, Type &t);
- void decode_R_type(signed int &s1, signed int &s2, signed int &s3);
+ void decode_R_type(signed int &s1, signed int &s2, signed int &s3, Mnemonic &m);
void decode_I_type(signed int &s1, signed int &s2, signed int &s3, Mnemonic &m);
void decode_J_type(signed int &s1, signed int &s2, signed int &s3);
/**
diff --git a/src/sim/wb.cc b/src/sim/wb.cc
index 3fa7dd3..4e6b2b0 100644
--- a/src/sim/wb.cc
+++ b/src/sim/wb.cc
@@ -30,7 +30,6 @@ void WB::write_handler()
this->checked_out.pop_front();
reg = this->curr_instr->get_checked_out();
- std::cout << "checked in: " << reg << std::endl;
this->store_register(reg, this->curr_instr->get_s1());
}