summaryrefslogtreecommitdiff
path: root/src/sim
diff options
context:
space:
mode:
Diffstat (limited to 'src/sim')
-rw-r--r--src/sim/controller.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sim/controller.cc b/src/sim/controller.cc
index c6d1bff..8d48dc9 100644
--- a/src/sim/controller.cc
+++ b/src/sim/controller.cc
@@ -3,6 +3,7 @@
Controller::Controller(Storage *storage, bool is_pipelined)
{
+ this->clock_cycle = 0;
this->storage = storage;
this->is_pipelined = is_pipelined;
this->pc = 0x0;