In reply to RAGHU_BHAT:
The key question where does it come from (sine). I’m guessing it is somewhere in the toplevel module of your UVM testbench. The most easy and consistent way ist to add this variable to an interface. Then you can pass it through the class-based part of your testbench.