Get() method

Hi…why get() method is used for comparing with read value ? get() method returns calculated desired value not the mirrored value. We must use get_mirrored_value() to get mirrored value & then compare this with hardware register value.

In reply to shekher201778:

Could you please show some more code?
If you are taking care the registers in the DUT and the testbench are synchronous it dies not make any difference callin get or get_mirrored_value().