Can we connect two virtual interfaces at runtime in any of the tasks in the uvm testbench? Not just driving a value but concurrent coonnection. something like:
…
vif1.data_in=vif2.data_out;
vif2.data_in=vif1.data_out
…
Can we connect two virtual interfaces at runtime in any of the tasks in the uvm testbench? Not just driving a value but concurrent coonnection. something like:
…
vif1.data_in=vif2.data_out;
vif2.data_in=vif1.data_out
…
In reply to manjubshetty:
You’ll have to do this in a fork’ed process
fork
forever @(vif2.data_out) vif1.data_in=vif2.data_out;
forever @(vif1.data_out) vif2.data_in=vif1.data_out;
join_none
This might be painfully slow if you have many signals like this.
Thanks, Dave!