Forum Discussion
Altera_Forum
Honored Contributor
11 years agoThere two issues here. One is the large number of counters each of width 24 bits, this requires resource and the dual port ram suggested by JosyB is best.
The other issue is that you are saying your counters are not independent when they should be but it must be your code. You need a loop to unroll into independent counters. There should be no counting dependency between them.
for i in 0 to 127 loop
counter(i) := counter(i) + 1;
end loop;
this shoud unroll to independant 128 counters