Suppose we have a 2d Systemverilog array declared as:
logic x [0:3][7:0] ;
- How can we use an attribute to get the width of the first dimension ?
- How can we use an attribute to get the width of the second dimension ?
- Is there an attribute equivalent to VHDL's "range" attribute ? I.E: one that'll return not the size but the actual range ( 0 to 3 ) or ( 7 down to 0 ) ?