Skip to content

Commit

Permalink
axi_adapter/fence.t: Assert busy_o when any outstanding AW
Browse files Browse the repository at this point in the history
Assert `busy_o` whenever there is any outstanding AW transaction to
prevent protocol violations (microreset during an inflight transaction).

Signed-off-by: Nils Wistoff <[email protected]>
  • Loading branch information
niwis committed May 21, 2024
1 parent dda5521 commit 9864973
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/cache_subsystem/axi_adapter.sv
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,8 @@ module axi_adapter #(

assign any_outstanding_aw = outstanding_aw_cnt_q != '0;

// Busy if we're not idle
assign busy_o = state_q != IDLE;
// Busy if we're not idle or have outstanding writes
assign busy_o = (state_q != IDLE) || any_outstanding_aw;

always_comb begin : axi_fsm
// Default assignments
Expand Down

0 comments on commit 9864973

Please sign in to comment.