From 1afbebb7748f44f05ae76539a4d2f382a371ff00 Mon Sep 17 00:00:00 2001 From: Pavel Pisa Date: Mon, 1 Apr 2019 15:25:52 +0200 Subject: Coreview multiplexers updated and added for branch compare forward. Signed-off-by: Pavel Pisa --- qtmips_machine/core.cpp | 1 + qtmips_machine/core.h | 1 + 2 files changed, 2 insertions(+) (limited to 'qtmips_machine') 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); -- cgit v1.2.3