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 agoAre you sure this is the correct code. The toggle signal is falling on the falling edge of the clock, not the rising.
Can you post all of the code AND testbench?