How to update the Read only register

In reply to dave_59:

Thank you dave

I understand what you said

When we do RAL based verification, we have a “uvm_reg_block” from where “My_reg_block” extends, Now My_reg_block contains the Registers that are present in the DUT.

What I wanted to know is, if the register present in “My_reg_block” is RO, How that particular register is updated with a value present in the register(RO) of the DUT since it is RO.

Thanks in advance
durga