In reply to dave_59:
Hi Dev,
I have a code where disable fork is not working.
initial begin
.....
.....
//flip enable stage
fork : fork_flip_en_chk
begin
@(posedge calib_flip_en);
end
begin
#500ns; //TODO confirm the wait time
`uvm_error("COARSE_CAL_CHK", "calib_flip_en is not asserted within 500ns of completion of phase0 code sweep")
end
join_any
disable fork_flip_en_chk;
....
end
In the above code disable fork is not worked. In my simulation calib_flip_en posedge occurred much before 500ns wait time. But still I got the uvm_error. Am I doing anything fundamentally wrong?
Thanks in advance…