Counters STDNS
Counters STDNS
Counters STDNS
FREQUENCY DIVISION
• J-K FFs ,in toggle mode as shown, can provider
frequency divider system
FREQUENCY DIVISION
• J-K FFs ,in toggle mode as shown, can provider
frequency divider system
1
10/19/2018
FREQUENCY DIVISION
• By connecting more flip-flops as shown, CLK
frequency can divided further
FREQUENCY DIVISION
• By connecting more flip-flops as shown, CLK
frequency can divided further
80Hz
2
10/19/2018
COUNTERS
• Flip-flops can also be used for counting operations
(counter).
• The # and the way in which flip-flops are connected
determines the # of states (modulus) & counting
sequence.
• Two broad categories of counters : Asynchronous
and synchronous.
• In asynchronous: FF are clocked consecutively
• In synchronous : FF are clocked simultaneously
Asynchronous Counters
Asynchronous or ripple : output of one flip-flop drives
the CLK of the next FF.
The clock signal is applied only to the 1st FF, (input FF)
Examine2-bit asynchronous counter shown
3
10/19/2018
Asynchronous Counters
Asynchronous or ripple : output of one flip-flop drives
the CLK of the next FF.
The clock input is applied only to the 1st FF, (input FF)
2-bit asynchronous counter with 4 clock pulses
state sequence 0
Modulus is 2n = # of states
Asynchronous Counters
3-bit asynchronous counter
4
10/19/2018
Asynchronous Counters
Propagation delay: Accumulation of some time taken by FFs
to relay clock effect to their successive FFs.
Input clk pulse ripples
through counter (taking
time)to reach last FF
NB propagation delays(TPLH
& TPHL ) in waveforms
- They are disadvantages of
ripple counter
- total delay T < clock T
Calc tot delay if
propagation delay is 50ns
What should be max freq
of CLK
Asynchronous Counters
Propagation delay: Accumulation of some time taken by FFs
to relay clock effect to their successive FFs
Input clk pulse ripples
through counter (taking
time)to reach last FF
NB propagation delays(TPLH
& TPHL ) in waveforms
- They are disadvantages of
ripple counter
- total delay T < clock T
delay = 50ns x 3 FF =
max freq of CLK = 1/(3x50n)=
5
10/19/2018
6
10/19/2018
7
10/19/2018
Synchronous Counter
FF are clocked at the same time by a common clock
In asynchronous output of preceding FF are used to clock next
FF
In synchronous counter output of preceding FF (+modification
sometimes) are used as inputs (J & K) of next FF
2-bit synchronous counter analysis
Q0 – toggles at each
clock pulse
Synchronous Counter
FF are clocked at the same time by a common clock
In asynchronous output of preceding FF are used to clock next
FF
In synchronous counter output of preceding FF (+modification
sometimes) are used as inputs (J & K) of next FF
2-bit synchronous counter analysis
8
10/19/2018
Synchronous Counter
3 -bit synchronous counter analysis
Synchronous Counter
3 -bit synchronous counter analysis
9
10/19/2018
10
10/19/2018
11
10/19/2018
Circuit diagram
12
10/19/2018
13
10/19/2018
CIRCUIT
14
10/19/2018
CIRCUIT
CIRCUIT
15
10/19/2018
CIRCUIT
CIRCUIT
16
10/19/2018
17
10/19/2018
18