diff options
Diffstat (limited to 'qtmips_machine/core.h')
-rw-r--r-- | qtmips_machine/core.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/qtmips_machine/core.h b/qtmips_machine/core.h index 7d38d79..1878bfc 100644 --- a/qtmips_machine/core.h +++ b/qtmips_machine/core.h @@ -17,6 +17,8 @@ public: virtual void step() = 0; // Do single step + virtual void reset() = 0; // Reset core (only core, memory and registers has to be reseted separately) + signals: void instruction_fetched(machine::Instruction &inst); @@ -75,6 +77,8 @@ public: void step(); + void reset(); + private: struct Core::dtDecode *jmp_delay_decode; }; @@ -85,6 +89,8 @@ public: void step(); + void reset(); + private: struct Core::dtFetch dt_f; struct Core::dtDecode dt_d; |