Can we pass a value from top to the sequence using config_db?

Hai Everybody,

I am setting a virtual interface in the tb_top by using uvm_config_db.
Is there any chance to get that interface to my sequence?
Can I use those interface variables in my sequence?

please kindly give your help in resolving this.

Thanks,
Furry_Panda

In reply to Surya Kiran Muppana:

You can do anything that you want. The bigger question is should you, and the answer is absolutely not. Interfaces should only be used in drivers and monitors and nowhere else.