Professional Documents
Culture Documents
°Counter Modulus
• Counters are said to have a “natural count” of 2n. A counter
having a modulus of 3 or 5 would be useful and such counters
are said to have a modified count.
°A MOD-3 Counter
Decade Counters
°A MOD-5 Counter
Decade Counters
°A MOD-10 Counter
• A 2x5 or a 5x2 will form a mod-10 counter, or a decade counter.
Presettable Counters
°Synchronous UP Counters
Presettable Counters
°Synchronous UP-DOWN Counters
Counter design as a synthesis problem
°Let us try to design a modulo-
6 counter, the counting states Cn Bn An Cn+1 Bn+1 An+1 JC KC JB KB JA KA
(memory values) of which are
shown in state transition
diagram. We need three 0 0 0 0 0 1 0 0 1
memory element or flip-flops
for this as with n flip-flop we
can get at most 2n number of
different counting states. 0 0 1 0 1 0 0 1 1
000 0 1 0 0 1 1 0 0 1
101 001
0 1 1 1 0 0 1 1 1
010
100
1 0 0 1 0 1 0 0 1
011
State sequence of a modulo-6 counter
1 0 1 0 0 0 1 0 1
Counter design as a synthesis problem
°Our next objective is to get logic equation for each flip-flop input as
a function of present state of the counter.
Bn An Bn An
Cn 00 01 11 10 Cn 00 01 11 10
0 0 1 1 0 0
1 1 0 1
JC = An KC = An
Bn An Bn An
Cn 00 01 11 10 Cn 00 01 11 10
0 0 1 0 1 0
1 0 00
0 1
_
JB = Cn An KB = An
Counter design as a synthesis problem
°The final step is to draw the circuit diagram from the design
equations, which is shown in previous slide.
1 JA JB B JC C
A
_ _
KB _
KA A B
1 1 KC C
CLK