In reply to Dhivya:
I would like to add the following:
- write->read
- write->mirror
Both of these work for different write values(ie they dont throw any UVM_ERROR and they return the correct read value) except for the first time.
Only during the first time,
- write->read doesnt return the correct read value
- write->mirror throws out error saying “read value and mirrorred value doesnt match”
In both these cases I have ensured that the test starts after the release of reset.
Also,
During the first time,
- write-> read → #delay mirror works without throwing uvm_error but returns wrong read value
- write-> read → read ->mirror works without throwing uvm_error but first read returns wrong value whereas second read returns correct value