Forum Discussion
Altera_Forum
Honored Contributor
10 years agoProblem with while loop in an array
I need to check how many cells in an array are "filled" and how many are zeroed. The array is a one-dimensional array of 64 bits vector. Declaration in package: package my_pack is
typ...
Altera_Forum
Honored Contributor
10 years agoThank you.
1. Wouldn't a while loop be more efficient? True, it's only 18 iterations, but if I can make them 10 iterations, for example, wouldn't it be better? 2. Any reason why it wouldn't be synthesizable? VHDL supports while loop, and it's a small loop made to determine a number. 3. Would also love an answer for the final post edit question :)