Commit 34bde60
committed
[flash_ctrl] Fix read buffer re-allocation for even buffers
Previously, the read buffer re-allocation arbiter erroneously did not
factor in the `ack_i` signal coming from the Flash macro. While the open
source simulation model never really de-asserts `ack_i`, some real
Flash macros may do so. As a result, `req_o` might be high for multiple
clock cycles and the read buffer re-allocation may skip even read
buffers. This effectively halves the number of usable read buffers which
may have a negative impact on performance.
The fix is easy and just involves factoring in `ack_i` to take the
actual Flash macro request handshake for doing allocations.
This resolves #23797.
Signed-off-by: Pirmin Vogel <[email protected]>1 parent 6409aa6 commit 34bde60
File tree
2 files changed
+2
-2
lines changed- hw
- ip_templates/flash_ctrl/rtl
- top_earlgrey/ip_autogen/flash_ctrl/rtl
2 files changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
179 | 179 | | |
180 | 180 | | |
181 | 181 | | |
182 | | - | |
| 182 | + | |
183 | 183 | | |
184 | 184 | | |
185 | 185 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
179 | 179 | | |
180 | 180 | | |
181 | 181 | | |
182 | | - | |
| 182 | + | |
183 | 183 | | |
184 | 184 | | |
185 | 185 | | |
| |||
0 commit comments