From 3230238711ad444a8172b45a516a3205494d13d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Thu, 22 Mar 2018 17:25:28 +0100 Subject: Add control signals for non-pipelined cpu --- qtmips_gui/coreview/alu.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qtmips_gui/coreview/alu.cpp') diff --git a/qtmips_gui/coreview/alu.cpp b/qtmips_gui/coreview/alu.cpp index 2f24210..7644e40 100644 --- a/qtmips_gui/coreview/alu.cpp +++ b/qtmips_gui/coreview/alu.cpp @@ -45,7 +45,7 @@ void coreview::Alu::setPos(qreal x, qreal y) { con_in_a->setPos(x, y + off); con_in_b->setPos(x, y + HEIGHT - off); con_out->setPos(x + WIDTH, y + HEIGHT/2); - con_ctl->setPos(x + WIDTH/2, y + HEIGHT - (WIDTH/2)); + con_ctl->setPos(x + WIDTH/2, y + (WIDTH/2)); } const coreview::Connector *coreview::Alu::connector_in_a() const { -- cgit v1.2.3