Hello Everyone,
I have an internal net called wire P_HOOK under a design. My requirement is to drive this signal in UVM sequence
How do i do that
so far i did
interface test1 (input clk);
logic p_hook;
endinterface
bind design_top: `DUT.design_top_test1 test1_0 (
.p_hook(`DUT.design_top.u_vdiv.P_HOOK)
);
When i try to access this in my uvm sequence
class test_sequence extends uvm_sequence ...
virtual test1 vif;
task drive ();
vif.p_hook = 1'b1;
endtask
endclass
I get the following error : Usage of 'vif.p_hook' inconsistent with 'net' object.
Can anyone tell what i am doing wrong
Thanks