Forum Discussion
Altera_Forum
Honored Contributor
12 years ago --- Quote Start --- There are cases in your code where LED_out retains the previous value. To avoid latches you need to always give LED_out a value that depends only on the process inputs (state, key*). If you need LED_out to have memory, make it a flip-flop. Same for LED_R --- Quote End --- ---------------------------------------- Thanks for your quick reply rbugalho, I am a beginner to vhdl, please an example will help me understand what you mean better. Just one will do, thanks