Skip to content

Commit

Permalink
Fix bug in WB cache controller
Browse files Browse the repository at this point in the history
Wait for valid signal from miss handler when killing bypass memory
transaction before going to IDLE.
  • Loading branch information
ezelioli committed May 23, 2024
1 parent 4a0ffc5 commit b58a9bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/cache_subsystem/cache_ctrl.sv
Original file line number Diff line number Diff line change
Expand Up @@ -536,7 +536,7 @@ module cache_ctrl

if (req_port_i.kill_req) begin
req_port_o.data_rvalid = 1'b1;
if (!(state_q inside {MAKE_UNIQUE, WAIT_REFILL_GNT, WAIT_CRITICAL_WORD})) begin
if (!(state_q inside {MAKE_UNIQUE, WAIT_REFILL_GNT, WAIT_REFILL_VALID, WAIT_CRITICAL_WORD})) begin
state_d = IDLE;
end
end
Expand Down

0 comments on commit b58a9bd

Please sign in to comment.