diff options
author | Pavel Pisa <pisa@cmp.felk.cvut.cz> | 2019-02-12 23:18:27 +0100 |
---|---|---|
committer | Pavel Pisa <pisa@cmp.felk.cvut.cz> | 2019-02-12 23:18:27 +0100 |
commit | e8136120d2229ee06354a9efe942ba7edc3cfbdc (patch) | |
tree | a978a06b92e21b701a6ceb1a294dd4d205f09337 /qtmips_gui/coreview.h | |
parent | b67d168951e289a7a4ecd9ef50f9c84e9767ecda (diff) | |
download | qtmips-e8136120d2229ee06354a9efe942ba7edc3cfbdc.tar.gz qtmips-e8136120d2229ee06354a9efe942ba7edc3cfbdc.tar.bz2 qtmips-e8136120d2229ee06354a9efe942ba7edc3cfbdc.zip |
Add signals and multiplexers for ALU inputs forwarding.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Diffstat (limited to 'qtmips_gui/coreview.h')
-rw-r--r-- | qtmips_gui/coreview.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/qtmips_gui/coreview.h b/qtmips_gui/coreview.h index 3901ebc..cf60e20 100644 --- a/qtmips_gui/coreview.h +++ b/qtmips_gui/coreview.h @@ -99,7 +99,12 @@ protected: } mm; struct { coreview::Multiplexer *mem_or_reg; + coreview::Junction *j_reg_write_val; } wb; + struct { + coreview::Multiplexer *mux_alu_reg_a; + coreview::Multiplexer *mux_alu_reg_b; + } hu; coreview::Connection *new_connection(const coreview::Connector*, const coreview::Connector*); coreview::Bus *new_bus(const coreview::Connector*, const coreview::Connector*, unsigned width = 4); |