aboutsummaryrefslogtreecommitdiff
path: root/qtmips_gui/coreview.h
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2018-01-15 14:10:25 +0100
committerKarel Kočí <cynerd@email.cz>2018-01-15 14:10:25 +0100
commit78534f29b90fcf7484ed8b64e404a7059a69abea (patch)
treebeaec381396e753783b2358625ee83ccd4fccc38 /qtmips_gui/coreview.h
parentbd1ff3b84310ed6c4227f880f294bf62284331cb (diff)
downloadqtmips-78534f29b90fcf7484ed8b64e404a7059a69abea.tar.gz
qtmips-78534f29b90fcf7484ed8b64e404a7059a69abea.tar.bz2
qtmips-78534f29b90fcf7484ed8b64e404a7059a69abea.zip
Add instruction views to core view
Positioning and probably even graphics are just temporally for now.
Diffstat (limited to 'qtmips_gui/coreview.h')
-rw-r--r--qtmips_gui/coreview.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/qtmips_gui/coreview.h b/qtmips_gui/coreview.h
index e214fad..8adf302 100644
--- a/qtmips_gui/coreview.h
+++ b/qtmips_gui/coreview.h
@@ -52,6 +52,7 @@ private:
coreview::Memory *mem;
coreview::Registers *regs;
coreview::Multiplexer *mem_or_reg;
+ coreview::InstructionView *instr_fetch;
QVector<coreview::Connection*> connections;
coreview::Connection *new_connection(const coreview::Connector*, const coreview::Connector*);
@@ -76,6 +77,7 @@ public:
private:
coreview::Latch *latch_if_id, *latch_id_ex, *latch_ex_mem, *latch_mem_wb;
+ coreview::InstructionView *inst_dec, *inst_exec, *inst_mem, *inst_wrb;
// TODO forwarding unit
};