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
commit d67d3323ad
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 5 additions and 1 deletions

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: