Forum Discussion
Altera_Forum
Honored Contributor
9 years agopulse counting
Hello, I'd like to code a pulse counter : after X pulses from a signal, another signal toggles (I choose 4 in my example). I wrote this piece of code, and the behavior is not as i expected...
Altera_Forum
Honored Contributor
9 years ago --- Quote Start --- What is the difference between your submitted code and using the rising edge function ? --- Quote End --- The rising edge function looks for the rising edge on an actual signal, like a clock (its not a logic circuit, just a langauge function). An edge detect is a synchronous circuit that uses the input and a registered version of the input. Its a real logic circuit.