Forum Discussion
Altera_Forum
Honored Contributor
12 years agosee my edit. eventually your first loop counter is ok but you need to run counter in the design. so your final code was in the right direction i.e. the one you added counter in the logic.