SlideShare uma empresa Scribd logo
1 de 18
Edge-Triggered Flip Flops
• A flip flop is a synchronous bistable device
• Synchronous - the output changes state only at
a specified point on a triggering input clock
• An edge-triggered flip-flop changes state either
at the
– positive edge (rising edge) or
– negative edge (falling edge) of the clock pulse
– The flip flop is sensitive to its inputs only at this
transition of the clock
IS 151 Digital Circuitry

1
Edge-Triggered Flip Flops
• Three types of flip-flops
– S-R
–D
– J-K

IS 151 Digital Circuitry

2
Edge-Triggered S-R Flip Flop
• Synchronous – because data on its inputs are
transferred to the flip flop output only on the triggering
edge of the clock pulse
• When S = 1 and R = 0, Q = 1 on the triggering edge of
the clock pulse – SET
• When S = 0 and R = 1, Q = 0 on the triggering edge of
the clock pulse – RESET
• When S = R = 0, the output does not change
• When S = R = 1, invalid condition
– Same operation as the gated S-R latch

• The flip flop cannot change state except on the
triggering edge of a clock pulse
IS 151 Digital Circuitry

3
Edge-Triggered S-R Flip Flop
• Operation of the positive-edge-triggered flip-flop
S

Q

S = 1, R = 0, flip flop SETS on
the positive clock edge

Q’

1

If already SET, it remains SET

C

t0
0

R

IS 151 Digital Circuitry

4
Edge-Triggered S-R Flip Flop
• Operation of the positive-edge-triggered flip-flop
S

Q

S = 0, R = 1, flip flop RESETS
on the positive clock edge

Q’

0

If already RESET, it remains
RESET

C

t0
1

R

IS 151 Digital Circuitry

5
Edge-Triggered S-R Flip Flop
• Operation of the positive-edge-triggered flip-flop
S

Q

S = 0, R = 0, flip flop does not
change

Q’

0

If SET, it remains SET; if
RESET, it remains RESET

C

t0
0

R

IS 151 Digital Circuitry

6
Edge-Triggered S-R Flip Flop
• Truth table
Inputs

Outputs

Comments

S

R

CLK

Q

Q’

0

0

X

Q0

Q’0

No Change

0

1

0

1

RESET

1

0

1

0

SET

1

1

?

?

= Clock transition LOW to
HIGH
X = irrelevant
Q0 = output level prior to clock
transition

Invalid

IS 151 Digital Circuitry

7
Edge-Triggered S-R Flip Flop
• Example – determine the Q and Q’ output waveforms of
an edge-triggered flip flop for the S, R and CLOCK
inputs. Assume that the FF is initially RESET
CLK

1

2

3

4

5

6

S
R
Q
Q’
IS 151 Digital Circuitry

8
Edge-Triggered S-R Flip Flop
• Determining the Q and Q’ outputs
– At clock pulse 1, S = 0, R = 0, Q does not change (Q = 0)
– At clock pulse 2, S = 0, R = 1, Q is RESET (Q = 0)
– At clock pulse 3, S = 1, R = 0, Q is SET (Q = 1)
– At clock pulse 4, S = 0, R = 1, Q = RESET (Q = 0)
– At clock pulse 5, S = 1, R = 0, Q = SET (Q = 1)
– At clock pulse 6, S = 1, R = 0, Q = SET (Q = 1)

IS 151 Digital Circuitry

9
Applications of Sequential
Circuits - Counters
• Flip flops can be used to perform counting
operations
• 2 categories:
– Asynchronous – events that do not have a
fixed time relationship with each other
– Events do not occur at the same time
– In an asynchronous FF, the first flip flop is
clocked by the external clock pulse and then
each successive flip flop is clocked by the
output of the preceding flip flop
IS 151 Digital Circuitry

10
Applications of Sequential
Circuits - Counters
– In a synchronous – the clock input is
connected to all of the flip flops so that they
are clocked simultaneously

• e.g. 2-bit asynchronous binary counter
requires 2 flip flops; 3-bit counter requires
3 flip flops

IS 151 Digital Circuitry

11
Applications of Sequential
Circuits - Counters
• 2-bit Asynchronous Binary Counter
HIGH

J0
CLK

Q0

C
K0

J1

Q1

C
Q0’

FF0

IS 151 Digital Circuitry

K1
FF1

12
2-bit Asynchronous Binary
Counter Operation
• The clock line (CLK) is connected to the
clock input of only the first flip flop, FF0
• The second flip flop, FF1, is triggered by
the Q’0 output of FF0
• FF0 changes state at the positive-going
edge of each clock pulse
• FF1 changes state only when triggered by
a positive-going transition of the Q’0 output
of FF0
IS 151 Digital Circuitry

13
2-bit Asynchronous Binary
Counter Operation
• Timing diagram
– E.g. apply 4 clock pulses to FF0 and
observe the Q output of each flip flop
– Both flip flops are connected for toggle
operation (J = K = 1)
– Q is initially RESET (0)

IS 151 Digital Circuitry

14
2-bit Asynchronous Binary
Counter Operation
• Timing diagram
CLK

1

2

3

4

Q’0
Q0
Q1

IS 151 Digital Circuitry

15
2-bit Asynchronous Binary
Counter Operation
• On the positive-going edge of CLK 1 (clock pulse 1), Q0
= HIGH, Q’0 = LOW
• Q’0 being LOW, no effect on FF1 (a positive-going
transition must occur to trigger the flip flop)
• On the positive-going edge of CLK 2, Q0 = LOW, Q’0 =
HIGH
• Q’0 being HIGH triggers FF1, causing Q1 to go HIGH
• On the positive-going edge of CLK 3, Q0 = HIGH, Q’0 =
LOW
• Q’0 being LOW, no effect on FF1, Q1 remains HIGH
• On the positive-going edge of CLK 4, Q0 = LOW, Q’0 =
HIGH
• Q’0 being HIGH triggers FF1, causing Q1 to go LOW
IS 151 Digital Circuitry

16
2-bit Asynchronous Binary
Counter Operation
•
•
•
•
•
•
•

If Q0 represents the Least Significant Bit (LSB) and Q1 represents
the Most Significant Bit (MSB), the sequence of counter states is
actually a sequence of binary numbers
Clock Pulse Q1
Q0
Initially
0
0
 binary 0
1
0
1
 binary 1
2
1
0
 binary 2
3
1
1
 binary 3
4(recycles) 0
0
 binary 0
Recycle means transition of a counter from its final state back to its
original state

IS 151 Digital Circuitry

17
2-bit Asynchronous Binary
Counter Operation
• Propagation delay
– The effect of the input clock pulse is first ‘felt’ by FF0.
This effect cannot get to FF1 immediately because of
the propagation delay through FF0
– The same happens to each flip flop until the last one
– Total propagation delay = propagation delays in each
flip flop
– E.g. if each flip flop in the example given has a
propagation delay of 5ns, the total propagation delay
is 5ns x 2 = 10ns
– Maximum clock frequency = 1/total propagation delay
= 1/10ns = 10GHz
IS 151 Digital Circuitry

18

Mais conteúdo relacionado

Mais procurados

Lecture 5 Synchronous Sequential Logic
Lecture 5 Synchronous Sequential LogicLecture 5 Synchronous Sequential Logic
Lecture 5 Synchronous Sequential Logic
James Evangelos
 
Ee2 chapter12 flip_flop
Ee2 chapter12 flip_flopEe2 chapter12 flip_flop
Ee2 chapter12 flip_flop
CK Yang
 

Mais procurados (20)

Travis jf flip flops
Travis jf flip flopsTravis jf flip flops
Travis jf flip flops
 
Sequential Logic
Sequential LogicSequential Logic
Sequential Logic
 
J - K & MASTERSLAVE FLIPFLOPS
J - K & MASTERSLAVE FLIPFLOPSJ - K & MASTERSLAVE FLIPFLOPS
J - K & MASTERSLAVE FLIPFLOPS
 
Lecture 5 Synchronous Sequential Logic
Lecture 5 Synchronous Sequential LogicLecture 5 Synchronous Sequential Logic
Lecture 5 Synchronous Sequential Logic
 
Group 9 flip flops
Group 9 flip flopsGroup 9 flip flops
Group 9 flip flops
 
Flip flops, counters & registers
Flip flops, counters & registersFlip flops, counters & registers
Flip flops, counters & registers
 
JK FLIPFLOP WITH TOGGLE
JK FLIPFLOP WITH TOGGLEJK FLIPFLOP WITH TOGGLE
JK FLIPFLOP WITH TOGGLE
 
Sequential logic circuits flip-flop pt 1
Sequential logic circuits   flip-flop pt 1Sequential logic circuits   flip-flop pt 1
Sequential logic circuits flip-flop pt 1
 
Latches and flip flops
Latches and flip flopsLatches and flip flops
Latches and flip flops
 
Sequential circuits
Sequential circuitsSequential circuits
Sequential circuits
 
Chapter 6: Sequential Logic
Chapter 6: Sequential LogicChapter 6: Sequential Logic
Chapter 6: Sequential Logic
 
Flipflop
FlipflopFlipflop
Flipflop
 
Flip flop
Flip flopFlip flop
Flip flop
 
All flipflop
All flipflopAll flipflop
All flipflop
 
Latches & flip flop
Latches & flip flopLatches & flip flop
Latches & flip flop
 
Sequential logics
Sequential logicsSequential logics
Sequential logics
 
Ee2 chapter12 flip_flop
Ee2 chapter12 flip_flopEe2 chapter12 flip_flop
Ee2 chapter12 flip_flop
 
Flip-Flop (Clocked Bistable)
Flip-Flop (Clocked Bistable)Flip-Flop (Clocked Bistable)
Flip-Flop (Clocked Bistable)
 
Flipflops and Excitation tables of flipflops
Flipflops and Excitation tables of flipflopsFlipflops and Excitation tables of flipflops
Flipflops and Excitation tables of flipflops
 
counter using 4 master slave flip-flops
counter using 4 master slave flip-flops counter using 4 master slave flip-flops
counter using 4 master slave flip-flops
 

Semelhante a IS 151 Lecture 11

Semelhante a IS 151 Lecture 11 (20)

Sequential circuits
Sequential circuitsSequential circuits
Sequential circuits
 
Sequentialcircuits
SequentialcircuitsSequentialcircuits
Sequentialcircuits
 
Counters r012
Counters  r012Counters  r012
Counters r012
 
flip-flop1.ppt
flip-flop1.pptflip-flop1.ppt
flip-flop1.ppt
 
unit 5.pptx
unit 5.pptxunit 5.pptx
unit 5.pptx
 
Digital Electronics Unit_3.pptx
Digital Electronics Unit_3.pptxDigital Electronics Unit_3.pptx
Digital Electronics Unit_3.pptx
 
Digital Fundamental Material for the student
Digital Fundamental Material for the studentDigital Fundamental Material for the student
Digital Fundamental Material for the student
 
Chapter 7_Counters (EEEg4302).pdf
Chapter 7_Counters (EEEg4302).pdfChapter 7_Counters (EEEg4302).pdf
Chapter 7_Counters (EEEg4302).pdf
 
BEEE FLIP FLOP & REGISTERS
BEEE FLIP FLOP & REGISTERSBEEE FLIP FLOP & REGISTERS
BEEE FLIP FLOP & REGISTERS
 
Counters
CountersCounters
Counters
 
Flip flop
Flip flopFlip flop
Flip flop
 
Flipflop r012
Flipflop   r012Flipflop   r012
Flipflop r012
 
Sequential circuit
Sequential circuitSequential circuit
Sequential circuit
 
UNIT - III.pptx
UNIT - III.pptxUNIT - III.pptx
UNIT - III.pptx
 
Latch and Flipflop.pptx
Latch and Flipflop.pptxLatch and Flipflop.pptx
Latch and Flipflop.pptx
 
best slides latches.pdf
best slides latches.pdfbest slides latches.pdf
best slides latches.pdf
 
SEQUENTIAL CIRCUITS [Flip-flops and Latches]
SEQUENTIAL CIRCUITS [Flip-flops and Latches]SEQUENTIAL CIRCUITS [Flip-flops and Latches]
SEQUENTIAL CIRCUITS [Flip-flops and Latches]
 
SEQUENTIAL CIRCUITS [FLIP FLOPS AND LATCHES]
SEQUENTIAL CIRCUITS [FLIP FLOPS AND LATCHES]SEQUENTIAL CIRCUITS [FLIP FLOPS AND LATCHES]
SEQUENTIAL CIRCUITS [FLIP FLOPS AND LATCHES]
 
SEQUENTIAL LOGIC CIRCUITS (FLIP FLOPS AND LATCHES)
SEQUENTIAL LOGIC CIRCUITS (FLIP FLOPS AND LATCHES)SEQUENTIAL LOGIC CIRCUITS (FLIP FLOPS AND LATCHES)
SEQUENTIAL LOGIC CIRCUITS (FLIP FLOPS AND LATCHES)
 
Synchronous Sequential Logic Unit 4
Synchronous Sequential Logic Unit 4Synchronous Sequential Logic Unit 4
Synchronous Sequential Logic Unit 4
 

Mais de wajanga (20)

IS 151 Lecture 3
IS 151 Lecture 3IS 151 Lecture 3
IS 151 Lecture 3
 
IS 151 Lecture 2
IS 151 Lecture 2IS 151 Lecture 2
IS 151 Lecture 2
 
IS 151 Lecture 1
IS 151 Lecture 1IS 151 Lecture 1
IS 151 Lecture 1
 
IS 151 Outline 2014
IS 151 Outline 2014IS 151 Outline 2014
IS 151 Outline 2014
 
IS 139 Assignment 3
IS 139 Assignment 3IS 139 Assignment 3
IS 139 Assignment 3
 
IS 139 Lecture 7
IS 139 Lecture 7IS 139 Lecture 7
IS 139 Lecture 7
 
IS 139 Lecture 6
IS 139 Lecture 6IS 139 Lecture 6
IS 139 Lecture 6
 
IS 139 Assignment 2
IS 139 Assignment 2IS 139 Assignment 2
IS 139 Assignment 2
 
IS 139 Lecture 5
IS 139 Lecture 5IS 139 Lecture 5
IS 139 Lecture 5
 
IS 139 Lecture 4
IS 139 Lecture 4IS 139 Lecture 4
IS 139 Lecture 4
 
IS 139 Assignment 1
IS 139 Assignment 1IS 139 Assignment 1
IS 139 Assignment 1
 
IS 139 Lecture 3
IS 139 Lecture 3IS 139 Lecture 3
IS 139 Lecture 3
 
IS 139 Lecture 1
IS 139 Lecture 1IS 139 Lecture 1
IS 139 Lecture 1
 
IS 139 Lecture 2
IS 139 Lecture 2IS 139 Lecture 2
IS 139 Lecture 2
 
IS 151 Lecture 10
IS 151 Lecture 10IS 151 Lecture 10
IS 151 Lecture 10
 
IS 151 Lecture 9
IS 151 Lecture 9IS 151 Lecture 9
IS 151 Lecture 9
 
IS 151 Lecture 8
IS 151 Lecture 8IS 151 Lecture 8
IS 151 Lecture 8
 
IS 151 Lecture 7
IS 151 Lecture 7IS 151 Lecture 7
IS 151 Lecture 7
 
IS 151 Lecture 6
IS 151 Lecture 6IS 151 Lecture 6
IS 151 Lecture 6
 
IS 151 Lecture 6
IS 151 Lecture 6IS 151 Lecture 6
IS 151 Lecture 6
 

Último

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Último (20)

How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 

IS 151 Lecture 11

  • 1. Edge-Triggered Flip Flops • A flip flop is a synchronous bistable device • Synchronous - the output changes state only at a specified point on a triggering input clock • An edge-triggered flip-flop changes state either at the – positive edge (rising edge) or – negative edge (falling edge) of the clock pulse – The flip flop is sensitive to its inputs only at this transition of the clock IS 151 Digital Circuitry 1
  • 2. Edge-Triggered Flip Flops • Three types of flip-flops – S-R –D – J-K IS 151 Digital Circuitry 2
  • 3. Edge-Triggered S-R Flip Flop • Synchronous – because data on its inputs are transferred to the flip flop output only on the triggering edge of the clock pulse • When S = 1 and R = 0, Q = 1 on the triggering edge of the clock pulse – SET • When S = 0 and R = 1, Q = 0 on the triggering edge of the clock pulse – RESET • When S = R = 0, the output does not change • When S = R = 1, invalid condition – Same operation as the gated S-R latch • The flip flop cannot change state except on the triggering edge of a clock pulse IS 151 Digital Circuitry 3
  • 4. Edge-Triggered S-R Flip Flop • Operation of the positive-edge-triggered flip-flop S Q S = 1, R = 0, flip flop SETS on the positive clock edge Q’ 1 If already SET, it remains SET C t0 0 R IS 151 Digital Circuitry 4
  • 5. Edge-Triggered S-R Flip Flop • Operation of the positive-edge-triggered flip-flop S Q S = 0, R = 1, flip flop RESETS on the positive clock edge Q’ 0 If already RESET, it remains RESET C t0 1 R IS 151 Digital Circuitry 5
  • 6. Edge-Triggered S-R Flip Flop • Operation of the positive-edge-triggered flip-flop S Q S = 0, R = 0, flip flop does not change Q’ 0 If SET, it remains SET; if RESET, it remains RESET C t0 0 R IS 151 Digital Circuitry 6
  • 7. Edge-Triggered S-R Flip Flop • Truth table Inputs Outputs Comments S R CLK Q Q’ 0 0 X Q0 Q’0 No Change 0 1 0 1 RESET 1 0 1 0 SET 1 1 ? ? = Clock transition LOW to HIGH X = irrelevant Q0 = output level prior to clock transition Invalid IS 151 Digital Circuitry 7
  • 8. Edge-Triggered S-R Flip Flop • Example – determine the Q and Q’ output waveforms of an edge-triggered flip flop for the S, R and CLOCK inputs. Assume that the FF is initially RESET CLK 1 2 3 4 5 6 S R Q Q’ IS 151 Digital Circuitry 8
  • 9. Edge-Triggered S-R Flip Flop • Determining the Q and Q’ outputs – At clock pulse 1, S = 0, R = 0, Q does not change (Q = 0) – At clock pulse 2, S = 0, R = 1, Q is RESET (Q = 0) – At clock pulse 3, S = 1, R = 0, Q is SET (Q = 1) – At clock pulse 4, S = 0, R = 1, Q = RESET (Q = 0) – At clock pulse 5, S = 1, R = 0, Q = SET (Q = 1) – At clock pulse 6, S = 1, R = 0, Q = SET (Q = 1) IS 151 Digital Circuitry 9
  • 10. Applications of Sequential Circuits - Counters • Flip flops can be used to perform counting operations • 2 categories: – Asynchronous – events that do not have a fixed time relationship with each other – Events do not occur at the same time – In an asynchronous FF, the first flip flop is clocked by the external clock pulse and then each successive flip flop is clocked by the output of the preceding flip flop IS 151 Digital Circuitry 10
  • 11. Applications of Sequential Circuits - Counters – In a synchronous – the clock input is connected to all of the flip flops so that they are clocked simultaneously • e.g. 2-bit asynchronous binary counter requires 2 flip flops; 3-bit counter requires 3 flip flops IS 151 Digital Circuitry 11
  • 12. Applications of Sequential Circuits - Counters • 2-bit Asynchronous Binary Counter HIGH J0 CLK Q0 C K0 J1 Q1 C Q0’ FF0 IS 151 Digital Circuitry K1 FF1 12
  • 13. 2-bit Asynchronous Binary Counter Operation • The clock line (CLK) is connected to the clock input of only the first flip flop, FF0 • The second flip flop, FF1, is triggered by the Q’0 output of FF0 • FF0 changes state at the positive-going edge of each clock pulse • FF1 changes state only when triggered by a positive-going transition of the Q’0 output of FF0 IS 151 Digital Circuitry 13
  • 14. 2-bit Asynchronous Binary Counter Operation • Timing diagram – E.g. apply 4 clock pulses to FF0 and observe the Q output of each flip flop – Both flip flops are connected for toggle operation (J = K = 1) – Q is initially RESET (0) IS 151 Digital Circuitry 14
  • 15. 2-bit Asynchronous Binary Counter Operation • Timing diagram CLK 1 2 3 4 Q’0 Q0 Q1 IS 151 Digital Circuitry 15
  • 16. 2-bit Asynchronous Binary Counter Operation • On the positive-going edge of CLK 1 (clock pulse 1), Q0 = HIGH, Q’0 = LOW • Q’0 being LOW, no effect on FF1 (a positive-going transition must occur to trigger the flip flop) • On the positive-going edge of CLK 2, Q0 = LOW, Q’0 = HIGH • Q’0 being HIGH triggers FF1, causing Q1 to go HIGH • On the positive-going edge of CLK 3, Q0 = HIGH, Q’0 = LOW • Q’0 being LOW, no effect on FF1, Q1 remains HIGH • On the positive-going edge of CLK 4, Q0 = LOW, Q’0 = HIGH • Q’0 being HIGH triggers FF1, causing Q1 to go LOW IS 151 Digital Circuitry 16
  • 17. 2-bit Asynchronous Binary Counter Operation • • • • • • • If Q0 represents the Least Significant Bit (LSB) and Q1 represents the Most Significant Bit (MSB), the sequence of counter states is actually a sequence of binary numbers Clock Pulse Q1 Q0 Initially 0 0  binary 0 1 0 1  binary 1 2 1 0  binary 2 3 1 1  binary 3 4(recycles) 0 0  binary 0 Recycle means transition of a counter from its final state back to its original state IS 151 Digital Circuitry 17
  • 18. 2-bit Asynchronous Binary Counter Operation • Propagation delay – The effect of the input clock pulse is first ‘felt’ by FF0. This effect cannot get to FF1 immediately because of the propagation delay through FF0 – The same happens to each flip flop until the last one – Total propagation delay = propagation delays in each flip flop – E.g. if each flip flop in the example given has a propagation delay of 5ns, the total propagation delay is 5ns x 2 = 10ns – Maximum clock frequency = 1/total propagation delay = 1/10ns = 10GHz IS 151 Digital Circuitry 18