aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2018-01-09 12:17:24 +0100
committerKarel Kočí <cynerd@email.cz>2018-01-09 12:17:24 +0100
commit1b3627760d0eae0eae71aaa6ca1a0e0081fe9ff2 (patch)
treeb6f935a80f0b653b7c3b8afa5ec0c478ee95cf5f
parent2fac9487895b4268ad5598eee4245094edee8821 (diff)
downloadqtmips-1b3627760d0eae0eae71aaa6ca1a0e0081fe9ff2.tar.gz
qtmips-1b3627760d0eae0eae71aaa6ca1a0e0081fe9ff2.tar.bz2
qtmips-1b3627760d0eae0eae71aaa6ca1a0e0081fe9ff2.zip
Add connection between pc adder and multiplexer
-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 ac7171e..c063bc7 100644
--- a/qtmips_gui/coreview.cpp
+++ b/qtmips_gui/coreview.cpp
@@ -84,6 +84,8 @@ CoreViewScene::CoreViewScene(CoreView *view, machine::QtMipsMachine *machine) :
con->setAxes({CON_AXIS_X(430)});
con = new_connection(pc.multiplex->connector_out(), pc.pc->connector_in());
con->setAxes({CON_AXIS_Y(90), CON_AXIS_X(80)});
+ con = new_connection(pc.adder->connector_out(), pc.multiplex->connector_in(3));
+ con->setAxes({CON_AXIS_Y(130), CON_AXIS_X(280), CON_AXIS_Y(55)});
connect(regs, SIGNAL(open_registers()), this, SIGNAL(request_registers()));
connect(mem, SIGNAL(open_data_mem()), this, SIGNAL(request_data_memory()));