From 7c1f79554aa50674fd722909b9ec87dac975eea6 Mon Sep 17 00:00:00 2001 From: Kai Berszin Date: Tue, 9 Dec 2025 14:25:11 +0100 Subject: [PATCH] sim: Fix uninitialized cluster wide cc counter The Cycle counter was reset using an synchronous nRST. If using clock gating but an global reset signal, the reset was not triggered. This fixes the traceing scripts on the dasm logs. --- hw/ip/spatz_cc/src/spatz_cc.sv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/ip/spatz_cc/src/spatz_cc.sv b/hw/ip/spatz_cc/src/spatz_cc.sv index 02790f83..b1faa53d 100644 --- a/hw/ip/spatz_cc/src/spatz_cc.sv +++ b/hw/ip/spatz_cc/src/spatz_cc.sv @@ -478,7 +478,7 @@ module spatz_cc // pragma translate_off int f; string fn; - logic [63:0] cycle; + logic [63:0] cycle = '0; initial begin // We need to schedule the assignment into a safe region, otherwise