Mirroring in Register Abstraction Layer

In reply to Dhivya:

I would like to add the following:

  1. write->read
  2. 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,

  1. write->read doesnt return the correct read value
  2. 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,

  1. write-> read → #delay mirror works without throwing uvm_error but returns wrong read value
  2. write-> read → read ->mirror works without throwing uvm_error but first read returns wrong value whereas second read returns correct value