how to keep a number from a counter

Status
Not open for further replies.

Thread Starter

jerry928

Joined Dec 9, 2014
6
Hi, I'm using an Altera DE2 boats. I'm creating a counter that counts the number of times a user pushes a button. I'm using 74163 counter since I need to count 0-9 and I think it's easier to control. I must have it running on an internal clock. However, my counter didn't seem to be working to perfectly. when the button is pressed, P and T are true and the counter starts counting but it counts from 0-9 changing on the edge of clock. How am I able to implement this? how can I keep the single ou out count after the button is pressed and held even if the clock is 'clockkng'?
 
Status
Not open for further replies.
Top