aboutsummaryrefslogtreecommitdiff
path: root/qtmips_gui
diff options
context:
space:
mode:
authorPavel Pisa <pisa@cmp.felk.cvut.cz>2019-01-31 11:02:03 +0100
committerPavel Pisa <pisa@cmp.felk.cvut.cz>2019-01-31 11:02:03 +0100
commiteab6cf4fc5720b330ba89c38e9e6119a8a6fabfa (patch)
treee706c645c9ee51b1a9fcbf15fee6bda870d1cd54 /qtmips_gui
parent6a6bd48da1f09be7dc7c53f13393b07889eea364 (diff)
downloadqtmips-eab6cf4fc5720b330ba89c38e9e6119a8a6fabfa.tar.gz
qtmips-eab6cf4fc5720b330ba89c38e9e6119a8a6fabfa.tar.bz2
qtmips-eab6cf4fc5720b330ba89c38e9e6119a8a6fabfa.zip
Initial support for JAL.
The JR, BEQ, BNE are most probably incorrect still. There is missing forwarding for pipelined execution. Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Diffstat (limited to 'qtmips_gui')
-rw-r--r--qtmips_gui/coreview.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/qtmips_gui/coreview.cpp b/qtmips_gui/coreview.cpp
index 897f92e..71c8113 100644
--- a/qtmips_gui/coreview.cpp
+++ b/qtmips_gui/coreview.cpp
@@ -98,6 +98,7 @@ CoreViewScene::CoreViewScene(machine::QtMipsMachine *machine) : QGraphicsScene()
con->setAxes({CON_AXIS_Y(710), CON_AXIS_X(510), CON_AXIS_Y(172)});
// Control unit labels
+ new_label("JalPcToR31", 300, 92);
new_label("MemToReg", 300, 106);
new_label("MemWrite", 300, 112);
new_label("MemRead", 300, 119);
@@ -114,6 +115,7 @@ CoreViewScene::CoreViewScene(machine::QtMipsMachine *machine) : QGraphicsScene()
NEW_V(360, 250, decode_reg1_value); // Register output 1
NEW_V(360, 270, decode_reg2_value); // Register output 2
NEW_V(335, 415, decode_immediate_value); // Sign extended immediate value
+ NEW_V(370, 99, decode_regd31_value, false, 1);
NEW_V(370, 113, decode_memtoreg_value, false, 1);
NEW_V(360, 120, decode_memwrite_value, false, 1);
NEW_V(370, 127, decode_memread_value, false, 1);