Hi,
In my SV Vector, I was trying to check an internal point to PAD connectivity as follows:-
force CHIP_TOP.PAD= 1; if (
INSIDE_PHY.POINT!== 1) $display(“ERROR: PAD NOT MAPPED CORRECTLY”);
release `DUT_HIER.PAD ;
force DUT_HIER.PAD = 0; if (
INSIDE_PHY.POINT !== 0) $display(“ERROR: PAD NOT MAPPED CORRECTLY”);
release `DUT_HIER.PAD ;
Now, in the Vector the 2nd check (==0) is Failing. However, in the design its connected properly. When I checked the waveform, I am not even seeing the toggle!
Qn:- Do I have to add a slight delay in between the two forces to capture the value change. If so, why? (I am trying to understand in terms of simulator / dumping behaviour; few similar checks coded in the same way was working fine. Even if the dump cannot show value change as its at same point of time, atleast the simulator shouldn’t flag en error for the 2nd check as it executes sequentially. Please correct if wrong)
Thanks in advance,
SV_Baby