Counters
Counters
lountus ae of to o ty beo
Async hronus Rpble Caunty
Synchonous | poN allal ceunty.
Mop-4 Cuunty.
2 bit Asynchroous Cuonter 09 MoD- Cuunt : (uy rt
(Ma
JA
CLK
JL Ko
(Ub)
CLK
) o0
Timig Diagag
(00
De tnats
29
May. Gunt
3bit Asynchro nou Csunty (P)
AACLSO)
Te e
t he
Lojic Diafgm
(löy
Timg Diagam
As,y nch tonus Down (ount The D
Do n CoUrrte4
Sequence is a alesCe nal ing
0Hde We Can me
mo dity U Counten bytllo
ys to make + den Cousti.
E) maki the fF taggen on tve edage
2
13y Cone etmg one ff Com blerment /p
to the Ff Jb
3·
By +ahing 4Nhe Coutey atut mitcadu.
Methocl
Vee
Je
lo
2 Bit Ri bble Ub /Dn CouUstet - (on Cnenth both dsie c.
AContol tem
Kosed to choose
c hoose he
he cli91e
1g1e ctim
ctm of Cuat
Lgc
Ks
BN Ribble Ceunty
Design of Divide
-ve ede
fn
cale
lon
4 ve
M= 0 cOunter acts as down counter
A
Kg
CLR CLR CLR CLR
D
Fig. 5.23(6) MOD-10 ripple counter.
,Pocesdure fur a
Sncharvus Cunte
Desgo
Circuit nfurmatn.
Dbtarn state elieg4m f'sn
Detne
Coeut
Desgo Moc 4 Chuntes usig Ir FE
y. indiCate no of states So Count
O,l23.
2"2 N
2^24
2^2 22
n= 2
-o
X
0. Rtate tal le
Ke
CLK
of a 5.23
An
its Sequence,
Sequence
up certain
The the
DOWN sequence UP/DOWN
UP/DOWN
counter
arrOWS sequence.
i.e. 1.e.,
modes n, 0, is
and7,6, in counter
the controlled
n-1, SYNCHRONOUS
1, An
of
Table n-2,. 2, up/down is
operation. 5, 3,
5.6 ..1,4, ..., by one
3, n.UP/
indicate 2, When counter that
Fig. 1, 0.DOWN is
For capable
5.28 0
the for 3-bit UP COUNTER is
shows down DOWNsignal.
state-to-state / also
counters, called of
progressing
the sequence. When
three signal
bidirectional
movement these this
bit is
signal in
up/down sequences LOW, ascending
of
counter.
is
the
then
HIGH,
counter. are
counter the Usually or
0,:counter
counter
descenaing
for 1,
2, up/down
both 3, goes
folows
4, ordeT
its 3, irough operatio
UP 6,revers
7 iroug
/Coumers
1
0
0
0
1
3
1 0
2
1
1
1
0
1 1 1
For Tc For Te
ForT
00 01 11 10 00 01 11 10
00 01
00 1 3 2 00 0, 1 3
00 11
01 4! 5 7 6 01 4 5 7 6
01
4 5
1
11 12 h3 |15-14 11 12 h3 I15 14
1) 11 121
|1 3 1 15
10 11! 10 11 10
10 8
9 1/ 10 8
1
Tç =U@g@a+UoQg@A
Logic diagram
LSB MSB
A B
HIGH
T T
Clock
111
101
T,=Q, T=1
Expression for Te
QeQc 00 01 11 10
QA 3_ 2
1
X 1 X 1|
----
4 5 7 6
X X
Te=Oa
Logic diagram
Q Voc =+5 V Qc
TA Tc Qc
Ta
CLK
LSB
MSB
o,PREQ, D, D
CLK
CLA
Fig. 5.29 4 bit ring
counter.
Table 5.7 Truth table of a 4 bit ring
counter
CLK CLR
0 0
1 0 0 1
1 1
1 1
0 0 0
1 1 0 0
1 1
0
1
1 1
1
1 1
0
hnson Counter
CoOunter is a
tlngth 2N, Wherevariation of a shift register
ai he last Nis the number of flip counter. Johnson counters have basic
iit flip flop is connected back to flops. In Johnson counter, the complement counting
of the
S30
produces a
unique sequence of states.
the D input of the first
flip flop. This feedback
showsa is4bit Johnson counter. The last flip flop of . is connected to the input of first
1, so at the
rising pulse of the first cycle Q will change to 1. The output
Vut state wil o=0001 after first clock pulse,clock
to 230,0, =0011 andthen atthe rising pulse of the second clock
pdsg thoute out state change
he
so on till at the rising pulse of the fourth
Changes to 1111, At the fifth rising pulse the state then becomes I110, at
sate becomes 1100 and so
on at the eight pulse it becomes 0000. Table 5.8 shows
COunter.,
Q,
386 Qo Qz
Q
D, Q, D2 Da
Do