diff options
Diffstat (limited to 'qtmips_machine')
-rw-r--r-- | qtmips_machine/core.cpp | 1 | ||||
-rw-r--r-- | qtmips_machine/core.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/qtmips_machine/core.cpp b/qtmips_machine/core.cpp index dead427..9e285a4 100644 --- a/qtmips_machine/core.cpp +++ b/qtmips_machine/core.cpp @@ -548,6 +548,7 @@ void Core::writeback(const struct dtMemory &dt) { emit writeback_inst_addr_value(dt.is_valid? dt.inst_addr: STAGEADDR_NONE); emit instruction_writeback(dt.inst, dt.inst_addr, dt.excause, dt.is_valid); emit writeback_value(dt.towrite_val); + emit writeback_memtoreg_value(dt.memtoreg); emit writeback_regw_value(dt.regwrite); emit writeback_regw_num_value(dt.rwrite); if (dt.regwrite) diff --git a/qtmips_machine/core.h b/qtmips_machine/core.h index 86adcfa..8672850 100644 --- a/qtmips_machine/core.h +++ b/qtmips_machine/core.h @@ -158,6 +158,7 @@ signals: void memory_excause_value(std::uint32_t); void writeback_inst_addr_value(std::uint32_t); void writeback_value(std::uint32_t); + void writeback_memtoreg_value(std::uint32_t); void writeback_regw_value(std::uint32_t); void writeback_regw_num_value(std::uint32_t); |