diff --git a/core/perf_counters.sv b/core/perf_counters.sv index 2213221b8ec..c429b8f02d9 100644 --- a/core/perf_counters.sv +++ b/core/perf_counters.sv @@ -134,8 +134,6 @@ module perf_counters if ((!debug_mode_i) && (!we_i)) begin if ((events[i]) == 1 && (!mcountinhibit_i[i+2])) begin generic_counter_d[i] = generic_counter_q[i] + 1'b1; - end else begin - generic_counter_d[i] = 'b0; end end end