In reply to chr_sue:
typedef struct {
bit val;
bit [7:0] data;
}abc_t;
typedef abc_t a[6];
typedef a b[4];
typedef struct {
b efg;
}bcd_sv_t
type a is array (5 downto 0) of abc_t;
5 downto 0 is considered as a width or depth?
In reply to chr_sue:
typedef struct {
bit val;
bit [7:0] data;
}abc_t;
typedef abc_t a[6];
typedef a b[4];
typedef struct {
b efg;
}bcd_sv_t
type a is array (5 downto 0) of abc_t;
5 downto 0 is considered as a width or depth?