Forum Discussion
Altera_Forum
Honored Contributor
11 years agoNo, I read it as 32x32 array N bit values, hence my misunderstanind.
32'b0 shouldnt be needed, it should just work with 0. In my mind you should use BUF_LEGNTH = 32, as this matches the reality of the situation (more self documenting) and use BUF_LENGTH-1 as the bounds for the loop. Remember that loops unroll during synthesis into parrallel hardware, so just imagine your circuit of 32x32 parrallel registers.