sv2v/test/lex/begin_keywords.v

19 lines
294 B
Verilog
Raw Normal View History

2019-10-12 01:32:10 +02:00
module top;
task foo;
integer x;
begin
x = 2;
$display(x * x);
end
endtask
task bar;
integer y;
begin
y = 3;
$display(y * y);
end
endtask
initial foo;
initial bar;
endmodule