Replies: 2 comments
-
It really depends on the CPU interface protocol you are using. For simple interfaces like APB, I'm pretty sure it would still work fine. But for protocols like AXI4-Lite, you risk putting the state machine out of sync and potentially issuing an unexpected response on the wrong channel. Given the current implementation, I would not recommend this shortcut. |
Beta Was this translation helpful? Give feedback.
-
Thanks for the detailed answer. |
Beta Was this translation helpful? Give feedback.
-
My design has many external registers. It is also sensitive to area (gate count)
According to documentation the read and write ack signals should be:
However in practice we can completely omit the AND gates with the request signal if we don't care about the rd_ack and wr_ack signals going back to the cpu interface (for example if we know that the transaction will complete is a single cycle). In this case the ack signals can be set as follows:
rationale:
The rd_ack signal is used as a selector for the register file's read mux (readback_array). During read transactions it is still set correctly, while in write transactions I don't care about the read mux (logically speaking. Power consumption however will be somewhat higher since the read mux changes also during write).
Does that sounds reasonable ?
thanks
Beta Was this translation helpful? Give feedback.
All reactions