Skip to content

Commit

Permalink
axi_adapter/fence.t: Assert busy_o when any outstanding AW (#52)
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 <nwistoff@iis.ee.ethz.ch>
  • Loading branch information
niwis authored Sep 3, 2024
1 parent ee89dcc commit 99ae53b
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 99ae53b

Please sign in to comment.