aboutsummaryrefslogtreecommitdiff
path: root/qtmips_machine/machineconfig.h
diff options
context:
space:
mode:
authorPavel Pisa <pisa@cmp.felk.cvut.cz>2020-04-06 22:38:46 +0200
committerPavel Pisa <pisa@cmp.felk.cvut.cz>2020-04-06 22:38:46 +0200
commit27b38375203880cbc991eaac1d97c927346fa7e0 (patch)
treef734e2aead5fe106a7aa837aaa9a21db12138a24 /qtmips_machine/machineconfig.h
parent7ff1c310a3ab3f7df13026b8bfe58adcf8b0ec81 (diff)
downloadqtmips-27b38375203880cbc991eaac1d97c927346fa7e0.tar.gz
qtmips-27b38375203880cbc991eaac1d97c927346fa7e0.tar.bz2
qtmips-27b38375203880cbc991eaac1d97c927346fa7e0.zip
qtmips_cli: add option to specify used hazard unit - none, stall, forward.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Diffstat (limited to 'qtmips_machine/machineconfig.h')
-rw-r--r--qtmips_machine/machineconfig.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/qtmips_machine/machineconfig.h b/qtmips_machine/machineconfig.h
index bcd5b76..35373f7 100644
--- a/qtmips_machine/machineconfig.h
+++ b/qtmips_machine/machineconfig.h
@@ -119,6 +119,7 @@ public:
void set_delay_slot(bool);
// Hazard unit
void set_hazard_unit(enum HazardUnit);
+ bool set_hazard_unit(QString hukind);
// Protect data memory from execution. Only program sections can be executed.
void set_memory_execute_protection(bool);
// Protect program memory from accidental writes.