Hi,
I am using the uvm_hdl_read routine to acces a DUT path inside my coverage class.
The code works fine without any issue when i run in standalone mode, but I get the below error when I run the tests in a regression.
I understand that some DPI setting for my standalone compilation is different from the Regression Compilation command, but I am unable to figure out the actual root cause.
I am using uvm-1.1d and Questasim-10.7c
Below is the code Snippet and the Error message.
class cov extends uvm_component;
`uvm_component_utils(cov)
extern function new ();
extern task run_phase();
extern task mode();
endclass
task cov:run_phase();
super.run_phase();
mode;
endtask
task cov: mode ();
int read_data;
uvm_hdl_read (tb_top.dut.inst1.signal, read_data);
endtask
Error Message:
UVM_ERROR: Unable to read value from ‘tb_top.dut.inst1.signal’
Either the path is incorrect, or you may not have PLI/ACC visibility to that object.
Note: There is no UVM_RAL model in this TB.
Kindly ignore if you find this question to be Tool specific.
Thanks in advance!!
Regards
DoDo