matrixofdynamism
Advanced Member level 2
What is the difference between VHDL attributes left,right and low,high?
It seems to me that the behaviour of some VHDL attributes is overlapping which is making me confused reading about them.
(1) What is the difference between the atrribute pairs low,high vs right,left when used with scalar and when used with array type e.g std_logic_vector?
Also, for an array what is the difference between the following notations:
A'RIGHT is the rightmost subscript of array A or constrained array type.
A'RIGHT(N) is the rightmost subscript of dimension N of array A.
(2) I assumet that N would be used for multideminsional arrays. Is that correct?
It seems to me that the behaviour of some VHDL attributes is overlapping which is making me confused reading about them.
(1) What is the difference between the atrribute pairs low,high vs right,left when used with scalar and when used with array type e.g std_logic_vector?
Also, for an array what is the difference between the following notations:
A'RIGHT is the rightmost subscript of array A or constrained array type.
A'RIGHT(N) is the rightmost subscript of dimension N of array A.
(2) I assumet that N would be used for multideminsional arrays. Is that correct?