mirror of
https://github.com/zachjs/sv2v.git
synced 2026-08-29 09:09:47 +02:00
- swap 1364-2001 and 1364-2001-noconfig - fix existing begin_keywords test - add keyword test suite for all keywords
27 lines
431 B
Verilog
27 lines
431 B
Verilog
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
|
|
task baz;
|
|
integer w;
|
|
begin
|
|
w = 3;
|
|
$display(w ** w);
|
|
end
|
|
endtask
|
|
initial foo;
|
|
initial bar;
|
|
initial baz;
|
|
endmodule
|