How to count from 0 to 4 only using a 74193 or 74191?

Thread Starter

nivekevin

Joined Oct 5, 2010
9
Hi! I am wondering how can I allow the 74193 or 74191 (synchronous 4 bit up/down counter) chips to count from 0 to 4 or 4 to 0 only (i just want it to count for 5 clock cycles... meaning that after that the counting would reset to 0 again... i guess some logic gates are needed to implement it... any suggestions/ advices?

Thanks in advance! :)
 

Wendy

Joined Mar 24, 2008
23,421
There are several ways. I'd use a 3 input AND gate with one or two inverters to detect the binary number 100 (or 101), and feed the output of the AND gate to the reset pin. Other people may have better ideas.
 

Thread Starter

nivekevin

Joined Oct 5, 2010
9
There are several ways. I'd use a 3 input AND gate with one or two inverters to detect the binary number 100 (or 101), and feed the output of the AND gate to the reset pin. Other people may have better ideas.

Thanks for the prompt reply! I think i get a better idea already. :)
 
Top