Professional Documents
Culture Documents
Counters
Counters
A special type of sequential circuit used to count the pulse is
known as a counter. It's a collection of flip flops where
the clock signal is applied is known as counters.
QQ'
M
1 1
1 1
0 1
1
BCD Ripple Counter (Decade Counter)
Mod -10 Counter
BCD Dec
Q3 Q2 Q1 Q0
0 0 0 0 0
0 0 0 1 1
0 0 1 0 2
0 0 1 1 3
0 1 0 0 4
0 1 0 1 5
0 1 1 0 6
0 1 1 1 7
1 0 0 0 8
1 0 0 1 9
1 0 1 0 10
Mod-n(Modulus-n) Counters
Mod-5 Counter – has 5 states.
000(0) 001(1) 010(2) 011(3)
100(4)
For Ja
Present state Next state f/f inputs b0 1
a Q
Q
Qa Qb Qa+ Qb+ Ja Ka Jb Kb 0 1
o o 0 1 o x 1 x x x
1
o 1 1 0 1 x x 1
1 0 1 1 x 0 1 x Ja = Qb
1 1 0 0 x 1 x 1 Ka = Qb
Jb = 1
Kb = 1
2-bit Synchronous Up Counter
Ja = Qb
Ka = Qb
Jb = 1
Kb = 1
3-bit Synchronous Up/Down Counter
Qn Qn+1 T
0 0 0
0 1 1
1 0 1
1 1 0
M QC QB QA QC+ QB+ QA+ TC TB TA
0 0 0 0 0 0 1 0 0 1
0 0 0 1 0 1 0 0 1 1
0 0 1 0 0 1 1 0 0 1
0 0 1 1 1 0 0 1 1 1
0 1 0 0 1 0 1 0 0 1
0 1 0 1 1 1 0 0 1 1
0 1 1 0 1 1 1 0 0 1
0 1 1 1 0 0 0 1 1 1
1 0 0 0 1 1 1 1 1 1
1 0 0 1 0 0 0 0 0 1
1 0 1 0 0 0 1 0 1 1
1 0 1 1 0 1 0 0 0 1
1 1 0 0 0 1 1 1 1 1
1 1 0 1 1 0 0 0 0 1
1 1 1 0 1 0 1 0 1 1
1 1 1 1 1 1 0 0 0 1
3-bit Synchronous Up/Down Counter
TA = 1
TB = M'QA + MQA'
TC = M'QBQA + MQB'QA'
QB QA
M QC
00 01 11 10
00
1
01 1
1
For TC 11
10 1
QB QA 00 01 11 10
M QC 1 1
00
1 1
01
1 1
For TB 11
1 1
10
3-bit Synchronous Up/Down Counter
TA = 1
TB = M'QA + MQA'
TC = M'QBQA + MQB'QA'
1. Design a 3-bit Synchronous Down Counter.
2. Design a 3-bit Synchronous Up Counter.
Ring Counter
• Special type of Counter.
• Output of last flip-flop is connected to
first flip-flop.
• No. of states = No. of flip-flops used.
• PR= 0; Q = 1 and CLR = 0; Q = 0
• Pre
Ring Counter
0 0 1 0
0 0 0 1 1 0 0
0
o 1 1 o 0 o 0 o
Direct i/p Q1 Q2 Q3 Q4
low 1 0 0 0
high 0 1 0 0
high 0 0 1 0
high 0 0 0 1
high 1 0 0 0
Johnson Counter
• Modified from Ring Counter.
• Twisted Ring Counter.
• No. of states = 2 x [No. of flip-flops used]