multipack_struct_cast.sv 116 Bytes
Newer Older
1 2 3 4 5 6 7
module top;
    typedef struct packed {
        logic [2][3] x;
    } S;
    S s;
    initial s = S'('1);
endmodule