Closed antonblanchard closed 3 years ago
A write and read from a CSR before and after the fix.
The current behaviour:
and with this fix:
Looks reasonable. Can you add a test?
Looks reasonable. Can you add a test?
Sure, I added checks to the existing tests. Does that look ok, or would you prefer a separate test?
Currently we ack for 2 cycles, even if in the second cycle stb and cyc are not asserted. This could cause issues on a shared wishbone with asynchronous cycle termination, because that ack would be interpreted as completing the next transaction.
To avoid this just ack for 1 cycle only.