From 986497311ede12dd6f9f86b010026172a66f6afc Mon Sep 17 00:00:00 2001 From: Nils Wistoff Date: Tue, 21 May 2024 12:44:41 +0200 Subject: [PATCH] axi_adapter/fence.t: Assert busy_o when any outstanding AW Assert `busy_o` whenever there is any outstanding AW transaction to prevent protocol violations (microreset during an inflight transaction). Signed-off-by: Nils Wistoff --- core/cache_subsystem/axi_adapter.sv | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/cache_subsystem/axi_adapter.sv b/core/cache_subsystem/axi_adapter.sv index 85852e9829..0a403b2154 100644 --- a/core/cache_subsystem/axi_adapter.sv +++ b/core/cache_subsystem/axi_adapter.sv @@ -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