struct_default.v 99 Bytes
Newer Older
1 2 3 4
module top;
    reg [1:0] foo = {1'b1, 1'b0};
    initial $display(foo, foo[1], foo[0]);
endmodule