diff options
| author | Alejandro Soto <alejandro@34project.org> | 2024-02-13 07:22:01 -0600 |
|---|---|---|
| committer | Alejandro Soto <alejandro@34project.org> | 2024-02-20 11:11:18 -0600 |
| commit | 9bf55b70a85e5c12e9cfd0b8c7e1eaf1c05a6c1c (patch) | |
| tree | 66ce9cb40e8ce46a87acf2b9cec2d16423f4f49a /rtl/cache | |
| parent | 7a639d4557a31337972e47d7d1f667b02b116770 (diff) | |
rtl/cache: fix critical bus protocol bug when caches are disabled
cache_core_waitrequest must be always high when caches are disabled.
Otherwise, cache_routing won't raise core_waitrequest on the idle state.
Diffstat (limited to 'rtl/cache')
| -rw-r--r-- | rtl/cache/cache.sv | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rtl/cache/cache.sv b/rtl/cache/cache.sv index f525373..465da08 100644 --- a/rtl/cache/cache.sv +++ b/rtl/cache/cache.sv @@ -144,7 +144,7 @@ module cache assign cache_mem_read = 0; assign cache_mem_write = 0; - assign cache_core_waitrequest = 0; + assign cache_core_waitrequest = 1; if (`CONFIG_CACHE) begin: null_ring assign in_data_ready = out_data_ready; |
