From df2391b70b89f15be7932d18fa77f950fc452f31 Mon Sep 17 00:00:00 2001 From: bd Date: Sat, 22 Mar 2025 14:24:16 -0400 Subject: Initialize clock_cycle --- src/sim/controller.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'src/sim/controller.cc') 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; -- cgit v1.2.3