Jump to content

How to set a virtual interface of a VIP from SoC tb top

Recommended Posts


I have a doubt regarding an interface "X" being defined as :

Driver code of the VIP:
protected virtual X ChipIf;
function void connect phase(uvm_phase phase);

Y vif_container; 

// Assigning virtual interface
assert(uvm_config_object::get(this, "","V_IF_CHIP", temp));
$cast(vif_container, temp);
ChipIf = vif_container.get_v_if();

endfunction : connect_phase


From the tb_top of the SoC , where the above VIP pkg is imported along with uvm pkg:*,please let me know how can I "set" the virtual ChipIf?

Link to post
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...