mirror of
https://github.com/zachjs/sv2v.git
synced 2026-09-08 04:43:20 +02:00
11 lines
242 B
Systemverilog
11 lines
242 B
Systemverilog
module top
|
|
import pkg::*;
|
|
#(localparam width = width_calc(2))
|
|
(input [width-1:0] i, output [width-1:0] o);
|
|
assign o = i + 1'b1;
|
|
initial begin
|
|
$display(width);
|
|
$display(`FANCY_SEEING_YOU);
|
|
end
|
|
endmodule
|