aboutsummaryrefslogtreecommitdiff
path: root/qtmips_machine
diff options
context:
space:
mode:
Diffstat (limited to 'qtmips_machine')
-rw-r--r--qtmips_machine/qtmipsmachine.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/qtmips_machine/qtmipsmachine.cpp b/qtmips_machine/qtmipsmachine.cpp
index 456640a..e96924a 100644
--- a/qtmips_machine/qtmipsmachine.cpp
+++ b/qtmips_machine/qtmipsmachine.cpp
@@ -15,7 +15,7 @@ QtMipsMachine::QtMipsMachine(const MachineConfig &cc) : QObject(), mcnf(&cc) {
mem = new Memory(*mem_program_only);
if (cc.pipelined())
- cr = new CorePipelined(regs, mem);
+ cr = new CorePipelined(regs, mem, cc.hazard_unit());
else
cr = new CoreSingle(regs, mem, cc.delay_slot());