Update pr1008.v to $finish
This commit is contained in:
parent
dad78d5258
commit
d400fa21bd
|
|
@ -10,13 +10,17 @@ reg a;
|
||||||
reg b;
|
reg b;
|
||||||
|
|
||||||
initial begin
|
initial begin
|
||||||
$monitor("b = %b", b);
|
$monitor("b = %b", b);
|
||||||
#1;
|
#1;
|
||||||
a = 1;
|
a = 1;
|
||||||
#2;
|
#2;
|
||||||
a = 0;
|
a = 0;
|
||||||
#2;
|
#2;
|
||||||
a = 1;
|
a = 1;
|
||||||
|
`ifdef VERILATOR
|
||||||
|
#3;
|
||||||
|
$finish; // Always @* in Verilator isn't input-sensitive, loops forever
|
||||||
|
`endif
|
||||||
end
|
end
|
||||||
|
|
||||||
/* This generated the error:
|
/* This generated the error:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue