In reply to chr_sue:
Yes, DUT contains 'h3 after reset. This is because, I do call .predict() method inside pre_write() method in order to make sure that the register will hold 'h3 value through out the simulation.
I want to update the mirror value to 'h3 before the comparison. But I am unable to do it.