In reply to chr_sue:
I use config object to send interface to driver . That is by giving interface to interface instance inside config object and then use it to get in driver .
if(!uvm_config_db #(virtual ram_if)::get(this,"","vif",wcfg.vif));
Without using config object to send sequence into driver any other way to pass interface?