From 9685e6f34d9d8f45e4607d267df90bcaee8ff76b Mon Sep 17 00:00:00 2001 From: Tulika Sinha Date: Mon, 7 Aug 2023 16:57:27 +0530 Subject: [PATCH] Update for #1237 --- core/cva6.sv | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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