Given an array of naturals. How can i declare an array of std_logic_vectors which will have a size same as the element of the naturals array.To put it more plainly if i have an array T= (5,20,11,10,6) with 5 elements is it possible to create an array of std_logic_vectors where every vector will have the size shown in T .ie 5 vectors the first (5 downto 0) the second (20 downto 0) the third (11 down to 0)and so on.
Take the 2-minute tour
×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.
|
Arrays must have the same type for their elements. When the element type is an unconstrained array like |
|||
|