Quantcast
Channel: UVM Forums RSS Feed
Viewing all articles
Browse latest Browse all 756

RivieraPro bind interface to DUT

$
0
0

I am having a major hangup with RivieraPro... I bind an interface to a VHDL instance, but I am unable to set this interface into the configuration Database.

 

  interface whitebox_if(
    input logic some_signal,
    input logic some_other_signal
  );
  endinterface

 

MyDut dut (...);

 

bind dut whitebox_if wb_if ( sig1, sig2); // works

 

initial
    uvm_config_db #(virtual whitebox_if)::set(null, "*", "v_interfaces" , dut.wb_if); // fails!!! 

 

Fatal Error: ELAB2_0036 Unresolved hierarchical reference to "dut.wb_if" from module "dut_top" (module not found).


Viewing all articles
Browse latest Browse all 756

Trending Articles