Forum Discussion
Altera_Forum
Honored Contributor
14 years agoToggling switch button to start and pause using logic '0' or '1'
Hi Altera Friends, I have an issue with design of clock. I have written a program for a clock to count from 0 to 9 and returns to zero. I use a switch as start/stop as in std_logic and i want a...
Altera_Forum
Honored Contributor
14 years agoHi Ebony,
Not sure what you are referring to here. If you wanted a CE using a KEY, you could simply read the KEY press (remember in DE2 boards its active LOW) and feed it as an enable input in a tri-state buffer. When key isnt pressed the clock output will be driven to Z. Not sure if this is what you wanted!? BP