summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlejandro Soto <alejandro@34project.org>2023-10-02 22:54:40 -0600
committerAlejandro Soto <alejandro@34project.org>2023-10-02 23:29:46 -0600
commit461d40fd78d49bef4420c7044426cb181fc5e6d8 (patch)
treecd16f97fcaad7a88c05920efdc91e39c2834f555
parent51de19b2caf97e043eb231f2a3cd19d2293ffa2c (diff)
rtl/cache: fix coherence bug during snoops (in_hold latched too early)
-rw-r--r--rtl/cache/cache_control.sv2
1 files changed, 1 insertions, 1 deletions
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)