Bit Bash Sequence for Read Only Registers

In reply to chr_sue:

In reply to yuvraj khare:
The mirror command reads the DUT register only. The read command makes amirror and a get.
The get returns the value of the TB registers.
A read is doing a mirror followd by a get.

When am using the read task, it gives me correct data from design from RO register. But when using mirror task, it throw an error.
Is mirror value is same as what we have write into that register? As this register is RO, so 'h0 has been written into the register and that is the mirror value.