When does the reg2bus and bus2reg are called in UVM register test?

In reply to Reuben:

Hi Reuben,

Can you please elaborate the solution of the issue discussed here as you have mentioned that you have solved it.

I am facing the similar issue, when WRITEs and READs are being done on the registers…the BUIS2REG is getting called twice.
When I capture the result of READ in a local variable and displaying it…it is showing the wrong value(my local variable is getting updated for the first BUS2REG) and when the BUS2REG is getting called for the second time… with the help of the print statement which I have in the BUS2REG method it is showing the value which I am expecting but now my local variable is not getting updated because it has already been updated with a value when BUS2REG was called for the first time.
Can you please provide some insight to this issue.
Thanks in advance.

Best Regards,
Neith