unbased_unsized_default.v 232 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11
module Example(inp);
    input [19:0] inp;
    initial #1 $display("%b", inp);
endmodule

module top;
    Example e1({20 {1'sb0}});
    Example e2({20 {1'sb1}});
    Example e3({20 {1'sbx}});
    Example e4({20 {1'sbz}});
endmodule