diff options
author | Pavel Pisa <pisa@cmp.felk.cvut.cz> | 2019-01-30 17:53:54 +0100 |
---|---|---|
committer | Pavel Pisa <pisa@cmp.felk.cvut.cz> | 2019-01-30 17:53:54 +0100 |
commit | a7abf58e5eadbe3a5898d9a60f1e135aaa700c5d (patch) | |
tree | f33f56df5487a28b04ff0117242ee7a841cc6c6e /qtmips_gui | |
parent | 08dc0c06d8874698c7d93e9804a0b236e60201dd (diff) | |
download | qtmips-a7abf58e5eadbe3a5898d9a60f1e135aaa700c5d.tar.gz qtmips-a7abf58e5eadbe3a5898d9a60f1e135aaa700c5d.tar.bz2 qtmips-a7abf58e5eadbe3a5898d9a60f1e135aaa700c5d.zip |
Display execution stage forward signals in the view.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Diffstat (limited to 'qtmips_gui')
-rw-r--r-- | qtmips_gui/coreview.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/qtmips_gui/coreview.cpp b/qtmips_gui/coreview.cpp index f875ee8..0f10628 100644 --- a/qtmips_gui/coreview.cpp +++ b/qtmips_gui/coreview.cpp @@ -393,4 +393,9 @@ CoreViewScenePipelined::CoreViewScenePipelined(machine::QtMipsMachine *machine) NEW_V(360, 105, decode_regw_value, false, 1); NEW_V(460, 105, execute_regw_value, false, 1); NEW_V(560, 105, execute_regw_value, false, 1); + + if (machine->config().hazard_unit() == machine::MachineConfig::HU_STALL_FORWARD) { + NEW_V(448, 460, execute_reg1_ff_value, false, 1); // Register 1 forward + NEW_V(462, 460, execute_reg2_ff_value, false, 1); // Register 1 forward + } } |