Forum Discussion
Altera_Forum
Honored Contributor
14 years agoProblem with state machine (AHDL)
Hi all, i'm a newbie in ADHL programming and have a problem with the code of the state machine below. I tested it on my CPLD-Board (MAX II). The machine works well when the signal "relais" is...
Altera_Forum
Honored Contributor
14 years agofirst of all - AHDL is an old and now unsupported language. I highly suggest you move to a language that you can simulate, like VHDL or Verilog.
Secondly, are comp_in and relais synchronous signals? if not, you may be getting glitches. And where is the synchronous register for the state machine?