mirror of
https://github.com/zachjs/sv2v.git
synced 2026-08-30 01:18:10 +02:00
12 lines
275 B
Systemverilog
12 lines
275 B
Systemverilog
module top;
|
|
function automatic logic [31:0] nop();
|
|
return 32'h00000013;
|
|
endfunction
|
|
initial $display(nop());
|
|
function automatic integer flip;
|
|
input integer inp;
|
|
return ~inp;
|
|
endfunction
|
|
initial $display(flip(nop()));
|
|
endmodule
|