From 461d40fd78d49bef4420c7044426cb181fc5e6d8 Mon Sep 17 00:00:00 2001 From: Alejandro Soto Date: Mon, 2 Oct 2023 22:54:40 -0600 Subject: rtl/cache: fix coherence bug during snoops (in_hold latched too early) --- rtl/cache/cache_control.sv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rtl/cache/cache_control.sv') diff --git a/rtl/cache/cache_control.sv b/rtl/cache/cache_control.sv index 7186e95..1648ec8 100644 --- a/rtl/cache/cache_control.sv +++ b/rtl/cache/cache_control.sv @@ -143,7 +143,7 @@ module cache_control in_data_ready = 1; end - if (!last_hop && in_hold.reply) + if (!last_hop && in_hold.reply && !in_hold.inval) in_data_ready = 1; if (accept_snoop) -- cgit v1.2.3