Forum Discussion
Altera_Forum
Honored Contributor
11 years agoYes, this will never work. Loops unroll into hardware.
You need to think about the hardware you're trying to create, not the software style code. (Im guessing you're a programmer) You need a counter in a synchronous process, and then finish when the counter reaches a certain value. Another issue you have is that your design has no outputs. Then it actually does nothing on real hardware, and will synthesise to nothing (when you can get it to compile).