mirror of
https://github.com/openhwgroup/cva6.git
synced 2025-04-23 21:57:11 -04:00
🐛 Un-stall LSU when flushing the pipeline
This commit is contained in:
parent
9c9e2a4ba4
commit
6cfd969f36
2 changed files with 5 additions and 2 deletions
|
@ -504,6 +504,9 @@ module lsu #(
|
|||
end else begin
|
||||
stall_n = 1'b1;
|
||||
end
|
||||
// if we flush we can safely un-stall
|
||||
if (flush_i)
|
||||
stall_n = 1'b0;
|
||||
end
|
||||
|
||||
// registers
|
||||
|
|
|
@ -143,8 +143,8 @@ module store_queue (
|
|||
end
|
||||
|
||||
// when we flush evict the speculative store
|
||||
if (flush_i & commit_queue_q.is_speculative) begin
|
||||
commit_queue_n.valid = 1'b0;
|
||||
if (flush_i && commit_queue_q.is_speculative) begin
|
||||
commit_queue_n.valid = 1'b0;
|
||||
end
|
||||
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue