module top();
typedef struct packed {
logic [1:0] a;
struct packed {
logic [1:0] a;
} x;
} myt;
integer mystring[myt];
initial
begin
mystring[1] = 1;
mystring[2] = 2;
$display("str=%x",mystring[1]);
$display("str=%x",mystring[2]);
$display("str=%p",mystring);
end
endmodule