module.sv 242 Bytes
Newer Older
1 2
module top
    import pkg::*;
3
    #(localparam width = width_calc(2))
4 5 6 7
    (input [width-1:0] i, output [width-1:0] o);
    assign o = i + 1'b1;
    initial begin
        $display(width);
8
        $display(`FANCY_SEEING_YOU);
9 10
    end
endmodule