mirror of
https://github.com/openhwgroup/cva6.git
synced 2025-04-23 21:57:11 -04:00
Change flush assignment in scoreboard
This commit is contained in:
parent
ea8fde0a3f
commit
03cc04f96a
1 changed files with 5 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue