Uvm reg read from uvm-monitor

In reply to chr_sue:

I am positive the parameter was passed to the function correctly. Since it has been used at inside sequence.

Just need to some light on how can I use the function inside the uvm_component