Forum Discussion
Altera_Forum
Honored Contributor
11 years ago --- Quote Start --- Is buffer meant to be inside a ram? Using an async reset will mean it can never be a ram, as ram cannot be reset. But otherwise yes, a for loop will do it. Btw, your array is only 1D looking at your code. --- Quote End --- Thanks for the response. It's not meant to be in a RAM. I need to use Thirty two 32-bit registers and rather than define each one of them an array seemed to be the best way to do it. I'm assigning all 32'bits to 0 on reset so buffer_1[index_1][31:0] <= 32'b0; Was the lack of the [31:0] that led you to believe its a 1D array or am I making a syntax error?