Do we have any function that tells us the size of the packed array or the msb / lsb value ?
for example if I have
logic [10:20] a [7:0] ;
then I have the function size or high or low that will give me the result 8,7,0 resp but if i wanted to know the packed side msb or lsb which is 10 or 20 here then is there any function ?
I know about the bits function but that will give me obly total number of bits .
Help me out please