Forum Discussion
Altera_Forum
Honored Contributor
11 years agoIn your simulation, your addresses are going over the limit of the memory array size. I suggest debugging on the waveform.
As a hint - your check on counter limits is an even number. But count_addr_2 is always odd, and so will never reset (maybe you want to use > rather than = for the comparison).