diff --git a/src/scoreboard.sv b/src/scoreboard.sv index 7058cbbb3..6a904dfd7 100644 --- a/src/scoreboard.sv +++ b/src/scoreboard.sv @@ -210,8 +210,11 @@ always_comb begin : push_instruction_and_wb top_pointer_n = issue_pointer_q; end // flush signal, e.g.: flush everything we need to backtrack after an exception - if (flush_i) - mem_n = '{default: 0}; + if (flush_i) begin + for (int i = 0; i < NR_ENTRIES; i++) begin + mem_n[i] = {$bits(scoreboard_entry){1'b0}}; + end + end end