diff options
author | Karel Kočí <cynerd@email.cz> | 2018-01-03 17:52:45 +0100 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2018-01-03 17:52:45 +0100 |
commit | 08d7e3dabd81e9d6e4f73aa5889a1d709242177c (patch) | |
tree | 1ad8277b3be1534f3d2a451e6c4fe659f9d9cb24 /qtmips_machine/core.h | |
parent | 4a40dddda4d3839814be2f00fb9a62f95b1b3f21 (diff) | |
download | qtmips-08d7e3dabd81e9d6e4f73aa5889a1d709242177c.tar.gz qtmips-08d7e3dabd81e9d6e4f73aa5889a1d709242177c.tar.bz2 qtmips-08d7e3dabd81e9d6e4f73aa5889a1d709242177c.zip |
Allow delay slot disable for non-pipelined core
Diffstat (limited to 'qtmips_machine/core.h')
-rw-r--r-- | qtmips_machine/core.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/qtmips_machine/core.h b/qtmips_machine/core.h index b09e297..7d38d79 100644 --- a/qtmips_machine/core.h +++ b/qtmips_machine/core.h @@ -70,12 +70,13 @@ protected: class CoreSingle : public Core { public: - CoreSingle(Registers *regs, MemoryAccess *mem); + CoreSingle(Registers *regs, MemoryAccess *mem, bool jmp_delay_slot); + ~CoreSingle(); void step(); private: - struct Core::dtDecode jmp_delay_decode; + struct Core::dtDecode *jmp_delay_decode; }; class CorePipelined : public Core { |