Forum Discussion
Altera_Forum
Honored Contributor
15 years agoif your state machine code example above is all you want to do then put the
fail_edge <= '0'; at top only as default and don't repeat it. then all you need is set the counter to required value: when 0 => count <= 1 when 1 => count <= 23 and so on...