aboutsummaryrefslogtreecommitdiff
path: root/qtmips_gui/coreview.h
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2018-01-21 18:22:07 +0100
committerKarel Kočí <cynerd@email.cz>2018-01-21 18:22:07 +0100
commit74ff0f2d5282adf5ce36c9faeb2a5e85c358bf23 (patch)
tree4d31bff7ddb830c2d6b14cd9df4abe6c13e27878 /qtmips_gui/coreview.h
parent16b1544fff7e9ca11deb3ae1b891c79eac7ec50e (diff)
downloadqtmips-74ff0f2d5282adf5ce36c9faeb2a5e85c358bf23.tar.gz
qtmips-74ff0f2d5282adf5ce36c9faeb2a5e85c358bf23.tar.bz2
qtmips-74ff0f2d5282adf5ce36c9faeb2a5e85c358bf23.zip
Implement even more parts of the schema
Diffstat (limited to 'qtmips_gui/coreview.h')
-rw-r--r--qtmips_gui/coreview.h14
1 files changed, 11 insertions, 3 deletions
diff --git a/qtmips_gui/coreview.h b/qtmips_gui/coreview.h
index edc970c..ed8a8ad 100644
--- a/qtmips_gui/coreview.h
+++ b/qtmips_gui/coreview.h
@@ -45,6 +45,7 @@ protected:
coreview::ProgramMemory *mem_program;
coreview::DataMemory *mem_data;
coreview::Registers *regs;
+ coreview::Alu *alu;
struct {
coreview::ProgramCounter *pc;
coreview::Latch *latch;
@@ -61,10 +62,17 @@ protected:
coreview::Junction *j_inst_up, *j_inst_down;
coreview::Bus *instr_bus;
} dc;
- coreview::Alu *alu;
- coreview::Multiplexer *mem_or_reg;
+ struct {
+ coreview::Junction *j_mux;
+ coreview::Multiplexer *mux_imm;
+ } ex;
+ struct {
+ coreview::Junction *j_addr;
+ } mm;
+ struct {
+ coreview::Multiplexer *mem_or_reg;
+ } wb;
- QVector<coreview::Connection*> connections;
coreview::Connection *new_connection(const coreview::Connector*, const coreview::Connector*);
coreview::Bus *new_bus(const coreview::Connector*, const coreview::Connector*, unsigned width = 4);
coreview::Signal *new_signal(const coreview::Connector*, const coreview::Connector*);