Merge pull request #1270 from wsnyder/pr1008_finish

Update pr1008.v test to $finish
This commit is contained in:
Cary R.
2025-09-02 07:51:04 -07:00
committed by GitHub
+5 -1
View File
@@ -10,13 +10,17 @@ reg a;
reg b;
initial begin
$monitor("b = %b", b);
$monitor("b = %b", b);
#1;
a = 1;
#2;
a = 0;
#2;
a = 1;
`ifdef VERILATOR
#3;
$finish; // Always @* in Verilator isn't input-sensitive, loops forever
`endif
end
/* This generated the error: