Forum Discussion
Altera_Forum
Honored Contributor
12 years ago --- Quote Start --- ------------------------------------------------------------------ Sorry to bother you guys again , Kaz, i am having difficulties to cause the code to function without errors, please where exactly in the clock process or per each switch in my code should i insert the code your posted. Thanks for helping --- Quote End --- use a separate clocked process per each key then in your state machine use sw_0_final,sw_1_final,...etc instead of sw_0,sw_1 ...etc. declare 3 counters and other signals at top of your design.