You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am verifying some cache module and I would like to verify its behavior when axi_bvalid (write response valid) takes time to arrive. It would be cool if we can randomize this too.
Maybe it's already an existing feature. Is it ?
Right now the bvalid always takes 1 cycle to arrive, here is an example :
assertdut.cache_system.next_state.value==WAITING_WRITE_RESawaitRisingEdge(dut.clk) # STATE SWITCH !awaitTimer(1, units="ps")
assertdut.cache_system.state.value==WAITING_WRITE_RESassertdut.axi_wvalid.value==0b0assertdut.axi_bready.value==0b1whilenotdut.axi_bvalid.value==0b1:
# if we have no response from memory, then we waitawaitRisingEdge(dut.clk)
awaitTimer(1, units="ps")
print("wait")
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am verifying some cache module and I would like to verify its behavior when
axi_bvalid
(write response valid) takes time to arrive. It would be cool if we can randomize this too.Maybe it's already an existing feature. Is it ?
Right now the
bvalid
always takes 1 cycle to arrive, here is an example :Here is how I use the
AxiRam
if that's relevant :Beta Was this translation helpful? Give feedback.
All reactions