Update pr1008.v to $finish
This commit is contained in:
parent
dad78d5258
commit
d400fa21bd
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in New Issue