Forum Discussion
Altera_Forum
Honored Contributor
15 years agomatrix array in vhdl
Dear all, I have 4x4 matrix and I want to read this matrix row by row on each clock cycle. For example, row1 is read in cycle1, row2 is read in cycle2 and so on. Can anyone give idea how to w...
Altera_Forum
Honored Contributor
15 years agoinput : in integer range 0 to 3
is not an array at all, it is just a single value. to make an array and put it on a port you have to declare an array type in a package. If you you're going to use the row_t I declared for you , you need to move that into a package.