Is the handling of assignment patterns differently for packed and unpacked arrays?
In the following example
typedef logic logic_byte_u [7:0];
typedef logic_byte_u logic_byte_array_u [3:0];
logic_byte_array_u au;
assign au = '{logic: 1'b1, default: '0};
all bits of au would be 1.
What should happen in case of packed arrays instead?
typedef logic [7:0] logic_byte;
typedef logic_byte [3:0] logic_byte_array;
logic_byte_array a;
assign a = '{logic: 1'b1, default: '0};
Is a == '1 or is a == '0?
Thanks and best regards,
Thomas