Skip to content

Commit 2d78b5e

Browse files
committed
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.
1 parent 70bc183 commit 2d78b5e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hw/ip/spatz_cc/src/spatz_cc.sv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -478,7 +478,7 @@ module spatz_cc
478478
// pragma translate_off
479479
int f;
480480
string fn;
481-
logic [63:0] cycle;
481+
logic [63:0] cycle = '0;
482482

483483
initial begin
484484
// We need to schedule the assignment into a safe region, otherwise

0 commit comments

Comments
 (0)