|ARM Technical Support Knowledge Articles|
Applies to: AHB
When there is an AHB write followed by a read from the same address, should the read return the old or the new data when the read address phase is in same cycle of the write data phase?
The answer to this question is dependent on the design of the slave.
A simple slave will not be buffering any data, so the returned read data will be the latest. A more complex slave could implement buffering for write data (if allowed by HPROT) and so it could "snoop" the write buffer contents before returning read data, or it might just return the previously stored data regardless of what might be buffered.
In conclusion, all the AHB specification requires is that data is returned.
Did you find this article helpful? Yes No
How can we improve this article?