diff --git a/core/cva6.sv b/core/cva6.sv index ff75dceb0e..7df51d7757 100644 --- a/core/cva6.sv +++ b/core/cva6.sv @@ -790,7 +790,9 @@ module cva6 import ariane_pkg::*; #( .stall_issue_i ( stall_issue ), .mcountinhibit_i ( mcountinhibit_csr_perf ) ); - end + end : gen_perf_counter else begin: gen_no_perf_counter + assign data_perf_csr = '0; + end : gen_no_perf_counter // ------------ // Controller