Monitoring of RO Registers in UVM

In reply to ajithomas003:

You cannnot use constructs like this in a package. But you can do this from outside, especially from the toplevel of your testbench.