K-J
Advanced Member level 2
In the code above 'x' is defined to be a one dimensional array, so 'x' only has one index. What you defined for IN_FRAME is a three dimensional array which will require specifying three indices: IN_FRAME : generic_3d_array ( 0 to ROWS_PER_FRAME - 1 , 0 to PIXELS_PER_ROW - 1 , BITS_PER_PIXEL - 1 downto 0 ) ;K-J,
In #15 you wrote:
Assume the following code:
Code:signal x is array ( 0 to 2 ) of std_logic_vector ( 7 downto 0 ) ; signal y : std_logic_vector ( 7 downto 0 ) ; y <= x ( 1 ) ;
Despite the fact that I left off the second boundary of x - the above will be legal.
How is it any different than:
?Code:row <= IN_FRAME ( some_row_number ) ;
Kevin Jennings