mirror of
https://github.com/zachjs/sv2v.git
synced 2026-08-30 01:18:10 +02:00
9 lines
182 B
Systemverilog
9 lines
182 B
Systemverilog
module top;
|
|
localparam i = 1234;
|
|
function automatic integer f;
|
|
input integer i;
|
|
f = i + 1;
|
|
endfunction
|
|
initial $display(i, f(0), f(i + 1));
|
|
endmodule
|