Forum Discussion
Altera_Forum
Honored Contributor
15 years agoAh! I can't believe I didn't see that! We were thinking it had to do with count as initially we never even set count back to 1! Thanks!
The whole reason for that else is because we wanted to push a button repeatedly and have it register the push every time. If I throw it inside the if (clock'event and clock = '1') statement then those button clicks are only registered once a second and I believe the button has to be down at exactly that tick. Am I wrong about this? If not then how do I got about allowing the buttons to be clicked as fast as possible but the output to be displayed for 1 second as I dont want the output to flash on the 7-segment and then just go away.