Forum Discussion
Altera_Forum
Honored Contributor
12 years agoProbably because in some cases (sw(0) not '1') your while loop is an infinite loop.
This will not synthesize properly, it doesn't represent proper hardware. The process is executed at each clock edge, so you don't need the while loop. Just start your process with a if rising_edge(clock_50) and do everything inside the if block.