Vlog-7027 the name (tb_top.signal) was not found in the current scope

I’m getting the error while compiling my testbench
vlog-7027 the name (tb_top.signal) was not found in the current scope
since i am driving TB top signal from sequence class and i have included my package in TB top.
my package consist of all UVC.

how can i resolve this problem?

In reply to saurabh jha:

You should never access any signal from outside of your driver or monitor. You can resolve your problem by following the UVM guidelines and limiting signal access to your UVC drivers and monitors.