Forum Discussion
Altera_Forum
Honored Contributor
17 years agofpga board push button questions
I just wanted to clarify: does pushing the button correspond to a single pulse? And is the default state of the button a logical 0, and when pushed is it a logical 1?
Altera_Forum
Honored Contributor
17 years agoIf you want to make a single clock pulse width signal from a physical button push, I suggest first double registering your input, then making a simple state machine that triggers when the button is first pushed, and verifies the button has not been pressed for a period of time to assume the button press has finished.
The pulse can happen when you transition from the idle state, to the "waiting for the button to finish being pressed" state.