SlideShare a Scribd company logo
2.3 Build sequential
    logic circuit
      Combinational logic circuit
        Sequential logic circuit
               Flip-flop
    Build flip-flop using logic gates
                                        1
Objectives:
•
1 Define sequential logic circuit.
•
2 Differentiate between combinational logic circuit and
   sequential logic circuit.
•
3 Describe flip - flop.
•
4 Identify various types of flip-flops.
•
5 Build SR, JK, T and D flip – flop using logic gates.
•
6 Draw the symbol and truth table of SR, JK, T and D flip
   – flop.

                                                            2
Sequential & Combinational
                 logic circuit
1 Define sequential logic circuit.
2 Differentiate between combinational logic circuit and
  sequential logic circuit.




                                                          3
Difference between
Combinational & Sequential logic circuit

 Combinational Logic Circuits

 Basic building
 blocks include:

 Sequential Logic Circuits

  Basic building blocks
  include FLIP-FLOPS:
                                    4
Sequential                   S
                                            C
                                                       Q


                 logic circuit             R           Q'



• Sequential logic is the type of digital system
  that does not only depend on current input, but
  also the previous history of the system.
• For that reason sequential logic requires
  memory elements to function.
• The building blocks used to construct devices
  that store data are called flip-flops.

                                                   5
Sequential logic circuit




      Sequential circuit have loops
– these enable curcuits to receive feedback   6
Combinational
               logic circuit
• Combinational logic is an interconnection of
 logic gates to generate a specificities logic
 function where the inputs result in an
 immediate output, having no memory or
 storage capabilities.
• There are function only based on their
 inputs, and NOT based on clocks.


                                             7
Combinational logic circuit




Combinational circuit is combination
      of various logic gates           8
Flip-Flop

3 Describe flip - flop.




                            9
Flip-Flop

• "Flip-flop" is the common name given to two-state
  devices which offer basic memory for sequential
  logic operations.
• Flip-flops are heavily used for digital data storage and
  transfer and are commonly used in banks called
  "registers" for the storage of binary numerical
  data.


                                                         10
Flip-Flop
• Flip-flop are basic storage/memory elements.
• Flip-flop are essentially 1-bit storage devices.
• Types of flip-flops are:
   • 1. SR Flip-flop
   • 2. JK Flip-flop
   • 3. D Flip-flop
   • 4. T Flip-flop
• Application of flip-flop:
   • 1. Counter        4. Logic controller
   • 2. Register       5. Frequency Divider
   • 3. Memory
                                                     11
SR Flip-Flop

4 Identify various types of flip-flops.
5 Build SR, JK, T and D flip – flop using logic gates.
6 Draw the symbol and truth table of SR, JK, T and D flip
  – flop.


                                                            12
SR Flip-Flop                       S          Q

                                                 R          Q'



• The simplest binary storage device.
• SR Flip-flop have 2 inputs (SET & RESET) and 2
  outputs (Q & Q’).
   NOTE: Q & Q’ are compliments of each other

• The SR flip flop is sometimes referred to as an SR
  latch. The Term latch refers to its use as a
  temporary memory storage device.

                                                       13
SR Flip-Flop
                  Symbol:




SR Flip-flop (Active HIGH)   SR Flip-flop (Active HIGH)
     NOR gate                      Symbol
                                                          14
SR Flip-Flop
                  Symbol:




SR Flip-flop (Active LOW)   SR Flip-flop (Active LOW)
   NAND gate                      Symbol
                                                        15
SR Flip-Flop
                    Truth Table:
S    R    Q    Q'
                       No change. Latch             S             Q
0    0    NC   NC
                    remained in present state.
1    0    1    0           Latch SET.               R             Q'
0    1    0    1         Latch RESET.
                                                   SR Flip-flop
1    1    0    0       Invalid condition.        (Active HIGH)



S'   R'   Q    Q'
                       No change. Latch             S             Q
1    1    NC   NC
                    remained in present state.
0    1    1    0           Latch SET.               R             Q'
1    0    0    1         Latch RESET.
                                                   SR Flip-flop
0    0    1    1       Invalid condition.
                                                 (Active LOW)
                                                                       16
SR Flip-Flop
Timing Diagram:




                  17
IQ Test!
 What is the mode of operation of the SR flip-flop (set, reset or hold)?
 What is the output at Q from the SR flip-flop (active LOW inputs)?

        L
                             ?
                             High
        H
                            Mode of operation = Set
                                                 ?


        H
                             ?
                             High
        H
                            Mode of operation = Hold
                                                 ?



        H
                             ?
                             Low
        L
                            Mode of operation =        ?
                                                      Reset          18
Clock
                SR Flip-Flop
4 Identify various types of flip-flops.
5 Build SR, JK, T and D flip – flop using logic gates.
6 Draw the symbol and truth table of SR, JK, T and D flip
  – flop.


                                                            19
Clock
• Flip-flops: synchronous bistable devices
• Output changes state at a specified point on a
  triggering input called the clock.
• Change state either at the positive edge (rising edge) or
  at the negative edge (falling edge) of the clock signal.

                                                Clock signal


           Positive      Negative edges
            edges
                                                             20
Clock
                 SR Flip-Flop
• The Clocked SR Flip Flop like SR flip-flop but with
  extra third input of a standard clock pulse.
• The output of Q and NOT Q will not change
  (despite making changes to the inputs Set & Reset)
  in a Clocked RS Flip-flop Until receiving a signal
  from the clock.



                                                        21
Clock SR Flip-Flop
               Symbol:




Clock SR Flip-flop (+ve EDGE)   Clock SR Flip-flop (+ve EDGE)
Combination gate                        Symbol
                                                         22
S
                                                              Q
                           Pulse
            CLK          transition
                          detector
                                                              Q'
                                      R


                  CLK'                                 CLK'
CLK                           CLK*        CLK                      CLK*


      CLK                                       CLK

      CLK'                                      CLK'

      CLK*                                      CLK*

 Positive-going transition                 Negative-going transition
      (rising edge)                         (falling edge)

                                                                          23
Clock SR Flip-Flop
                 Truth Table:
•   S-R flip-flop: on the triggering edge of the clock pulse,
•   S=HIGH and R=LOW is a SET state
•   R=HIGH (and S=LOW) is a RESET state
•   If both SR inputs LOW a NO change
•   If both SR inputs HIGH a INVALID
•   Truth table of positive edge-triggered S-R flip-flop:

    S    R   CLK       Q(t+1)    Comments
                                                 X = irrelevant (“don’t care”)
    0    0     X        Q(t)     No change        = clock transition LOW to HIGH
    0    1              0       Reset
    1    0              1       Set
    1    1              ?       Invalid
                                                                             24
Clock SR Flip-Flop
    Timing Diagram:




How if we add clock as input?
    Please draw the output waveform for me
            (Positive edge triggered)
                                             25
D Flip-Flop
4 Identify various types of flip-flops.
5 Build SR, JK, T and D flip – flop using logic gates.
6 Draw the symbol and truth table of SR, JK, T and D flip
  – flop.


                                                            26
D Flip-Flop                               D            Q

                      Truth Table:
                                                                     C
                                                                              Q'


•       D flip-flop: single input D (data)
•       D=HIGH a SET state
•       D=LOW a RESET state
•       Q follows D at the clock edge.
•       D flip-flop formed by add NOT gate between SR input.

    D            S         Q     D   CLK     Q(t+1)   Comments
CLK               C              1             1     Set
                 R         Q'    0             0     Reset

                                   = clock transition LOW to HIGH
                                                                         27
D Flip-Flop
                       Symbol:

      D
                               Q
CLK
                               Q'




      D Flip-flop (+ve EDGE)        D Flip-flop (+ve EDGE)
 Combination gate                       Symbol
                                                             28
D Flip-Flop
      Timing Diagram:


CLK
CLK     CLK
        CLK




        Q


        Q’



                        29
JK Flip-Flop

4 Identify various types of flip-flops.
5 Build SR, JK, T and D flip – flop using logic gates.
6 Draw the symbol and truth table of SR, JK, T and D flip
  – flop.


                                                            30
JK Flip-Flop                       J
                                                   C
                                                            Q


                                                  K         Q'


• J-K flip-flop: Q and Q' are feedback to the pulse-
  steering NAND gates.
• No invalid state.
• Include a toggle state.
    • J=HIGH (and K=LOW) a SET state
    • K=HIGH (and J=LOW) a RESET state
    • If both inputs LOW a NO change
    • If both inputs HIGH a Toggle
                                                       31
JK Flip-Flop
                       Symbol:

  J
                                Q

CLK

                                Q'
  K




      JK Flip-flop (+ve EDGE)        JK Flip-flop (+ve EDGE)
 Combination gate                         Symbol
                                                           32
JK Flip-Flop
        Truth Table:
J   K   CLK   Q(t+1)   Comments
0   0        Q(t)     No change
0   1         0       Reset
1   0         1       Set
1   1        Q(t)'    Toggle


                                   33
JK Flip-Flop
        Application: Frequency Division

            High                      High             High

                   J                         J    QA          J        QB
                         Q
      CLK          C            CLK          C                C

                   K                         K                K


CLK                                   CLK

 Q                                    QA

                                      QB

 Divide clock frequency by 2.          Divide clock frequency by 4.
                                                                  34
JK Flip-Flop
             Timing Diagram:
Similar to S-R flip-flop but toggles when J = K = 1




                                                      35
T Flip-Flop

4 Identify various types of flip-flops.
5 Build SR, JK, T and D flip – flop using logic gates.
6 Draw the symbol and truth table of SR, JK, T and D flip
  – flop.


                                                            36
T Flip-Flop                  T       J           Q

                    Truth Table:
                                                CLK        C
                                                          K           Q'


    • T flip-flop: single-input version of the J-K flip
      flop, formed by tying both inputs together.


T                                     T   CLK    Q(t+1)   Comments
                               Q
                                      0          Q(t)    No change
       CLK                            1          Q(t)'   Toggle
                               Q'




                                                               37

More Related Content

What's hot (20)

PPTX
Counters
Ketaki_Pattani
 
PPTX
Presentation on Flip Flop
Nahian Ahmed
 
PDF
Encoder & Decoder
Syed Saeed
 
PDF
Sequential circuits in Digital Electronics
Vinoth Loganathan
 
PPTX
Digital Electronics - Counters
Jayakrishnan J
 
PDF
Ripple counter
chandkec
 
ODP
D Flip Flop
Pradhan Rishi Sharma
 
PDF
JK flip flops
Zakariae EL IDRISSI
 
PPT
L12 programmable+logic+devices+(pld)
NAGASAI547
 
PPTX
D flip Flop
Talha Mudassar
 
PPTX
Counters
Randaqra
 
PDF
Registers and counters
Heman Pathak
 
PPTX
Microprocessor 8085 complete
Shubham Singh
 
PDF
Synchronous Loadable Up and Down Counter
Digital System Design
 
PPTX
Registers-shift register
Bilawal Fiaz
 
PDF
Synchronous sequential Circuits
Indira Priyadarshini
 
PDF
Asynchronous sequential circuit analysis
Dr Naim R Kidwai
 
PPTX
Flip flop
Bhaskar Kumar Jha
 
PPT
Sequential circuits
Paresh Parmar
 
PPSX
Sequential circuits
Jaipal Dhobale
 
Counters
Ketaki_Pattani
 
Presentation on Flip Flop
Nahian Ahmed
 
Encoder & Decoder
Syed Saeed
 
Sequential circuits in Digital Electronics
Vinoth Loganathan
 
Digital Electronics - Counters
Jayakrishnan J
 
Ripple counter
chandkec
 
D Flip Flop
Pradhan Rishi Sharma
 
JK flip flops
Zakariae EL IDRISSI
 
L12 programmable+logic+devices+(pld)
NAGASAI547
 
D flip Flop
Talha Mudassar
 
Counters
Randaqra
 
Registers and counters
Heman Pathak
 
Microprocessor 8085 complete
Shubham Singh
 
Synchronous Loadable Up and Down Counter
Digital System Design
 
Registers-shift register
Bilawal Fiaz
 
Synchronous sequential Circuits
Indira Priyadarshini
 
Asynchronous sequential circuit analysis
Dr Naim R Kidwai
 
Sequential circuits
Paresh Parmar
 
Sequential circuits
Jaipal Dhobale
 

Viewers also liked (16)

PDF
Sequential logic circuits flip-flop pt 3
Sarah Sue Calbio
 
PPTX
Sequential logic circuits flip-flop pt 1
Sarah Sue Calbio
 
PDF
Flip flop
JAGMIT Jamkhandi
 
PDF
Chapter 4 flip flop for students
CT Sabariah Salihin
 
PPT
Sequential Logic Circuit
Ramasubbu .P
 
PPTX
Sequential Logic Circuit
Yong Heui Cho
 
PPT
Computer Oragnization Flipflops
Vanitha Chandru
 
PPTX
Logic gates - AND, OR, NOT, NOR, NAND, XOR, XNOR Gates.
Satya P. Joshi
 
PDF
Chapter 5 counter
CT Sabariah Salihin
 
PPT
Semiconductor
Yong Heui Cho
 
PPTX
Combinational Logic Circuit
Yong Heui Cho
 
PPT
Digital 9 16
Sayan Chakraborty
 
PDF
CMOS Topic 6 -_designing_combinational_logic_circuits
Ikhwan_Fakrudin
 
PPTX
Flip flops (ff)
Arturo Guillén
 
PPT
14827 shift registers
Sandeep Kumar
 
PDF
Primary Programs Framework - Curriculum Integration: Making Connections
Sarah Sue Calbio
 
Sequential logic circuits flip-flop pt 3
Sarah Sue Calbio
 
Sequential logic circuits flip-flop pt 1
Sarah Sue Calbio
 
Flip flop
JAGMIT Jamkhandi
 
Chapter 4 flip flop for students
CT Sabariah Salihin
 
Sequential Logic Circuit
Ramasubbu .P
 
Sequential Logic Circuit
Yong Heui Cho
 
Computer Oragnization Flipflops
Vanitha Chandru
 
Logic gates - AND, OR, NOT, NOR, NAND, XOR, XNOR Gates.
Satya P. Joshi
 
Chapter 5 counter
CT Sabariah Salihin
 
Semiconductor
Yong Heui Cho
 
Combinational Logic Circuit
Yong Heui Cho
 
Digital 9 16
Sayan Chakraborty
 
CMOS Topic 6 -_designing_combinational_logic_circuits
Ikhwan_Fakrudin
 
Flip flops (ff)
Arturo Guillén
 
14827 shift registers
Sandeep Kumar
 
Primary Programs Framework - Curriculum Integration: Making Connections
Sarah Sue Calbio
 
Ad

Similar to 2.3 sequantial logic circuit (20)

PPTX
Flipflop
sohamdodia27
 
PPTX
Flipflopsupdated explanation and applications.pptx
amandavid6969
 
PPT
Unit 4 clocked_flip_flops
UNAD
 
PPT
Sequential circuit
Brenda Debra
 
PPTX
Flip flop
AttaRahmanQureshi
 
PPT
14827 unit 4_clocked_flip_flops
Sandeep Kumar
 
PPTX
ABOUT FLIP FLOPS IN DIGITAL ELECTRONICS .pptx
ropide1272
 
PPTX
SEQUENTIAL LOGIC CIRCUITS (FLIP FLOPS AND LATCHES)
Sairam Adithya
 
PPT
flip-flop1.ppt
profabhishekranjan
 
PPT
Digital-logic-design-16148_flip-flop1.ppt
SherifElGohary7
 
PPTX
SEQUENTIAL CIRCUITS [Flip-flops and Latches]
Electronics for Biomedical
 
PPTX
SEQUENTIAL CIRCUITS [FLIP FLOPS AND LATCHES]
SUBHA SHREE
 
PPTX
flip flops
Unsa Shakir
 
PPTX
dldflip-flop-151229031138 (1).pptx
Kumar290483
 
PDF
Flip-flops, Shift Registers and Counters.pdf
SandeepR330988
 
PPTX
flip flop circuits and its applications
Gaditek
 
PPTX
Bistables-multivibrators .pptx
Rethabile37
 
PDF
Flipflop for Electronics and Communication Engineering students.pdf
izukumido
 
PPTX
Latch and Flipflop.pptx
ramkumarraja7
 
PPTX
UNIT - III.pptx
amudhak10
 
Flipflop
sohamdodia27
 
Flipflopsupdated explanation and applications.pptx
amandavid6969
 
Unit 4 clocked_flip_flops
UNAD
 
Sequential circuit
Brenda Debra
 
Flip flop
AttaRahmanQureshi
 
14827 unit 4_clocked_flip_flops
Sandeep Kumar
 
ABOUT FLIP FLOPS IN DIGITAL ELECTRONICS .pptx
ropide1272
 
SEQUENTIAL LOGIC CIRCUITS (FLIP FLOPS AND LATCHES)
Sairam Adithya
 
flip-flop1.ppt
profabhishekranjan
 
Digital-logic-design-16148_flip-flop1.ppt
SherifElGohary7
 
SEQUENTIAL CIRCUITS [Flip-flops and Latches]
Electronics for Biomedical
 
SEQUENTIAL CIRCUITS [FLIP FLOPS AND LATCHES]
SUBHA SHREE
 
flip flops
Unsa Shakir
 
dldflip-flop-151229031138 (1).pptx
Kumar290483
 
Flip-flops, Shift Registers and Counters.pdf
SandeepR330988
 
flip flop circuits and its applications
Gaditek
 
Bistables-multivibrators .pptx
Rethabile37
 
Flipflop for Electronics and Communication Engineering students.pdf
izukumido
 
Latch and Flipflop.pptx
ramkumarraja7
 
UNIT - III.pptx
amudhak10
 
Ad

Recently uploaded (20)

PPTX
How to Create a PDF Report in Odoo 18 - Odoo Slides
Celine George
 
PDF
Stokey: A Jewish Village by Rachel Kolsky
History of Stoke Newington
 
PDF
ARAL-Orientation_Morning-Session_Day-11.pdf
JoelVilloso1
 
PDF
0725.WHITEPAPER-UNIQUEWAYSOFPROTOTYPINGANDUXNOW.pdf
Thomas GIRARD, MA, CDP
 
PPTX
grade 5 lesson matatag ENGLISH 5_Q1_PPT_WEEK4.pptx
SireQuinn
 
PDF
Reconstruct, Restore, Reimagine: New Perspectives on Stoke Newington’s Histor...
History of Stoke Newington
 
PPTX
How to Manage Large Scrollbar in Odoo 18 POS
Celine George
 
PPTX
Universal immunization Programme (UIP).pptx
Vishal Chanalia
 
PDF
CEREBRAL PALSY: NURSING MANAGEMENT .pdf
PRADEEP ABOTHU
 
PPTX
I AM MALALA The Girl Who Stood Up for Education and was Shot by the Taliban...
Beena E S
 
PPTX
2025 Winter SWAYAM NPTEL & A Student.pptx
Utsav Yagnik
 
PPTX
How to Set Maximum Difference Odoo 18 POS
Celine George
 
PDF
CONCURSO DE POESIA “POETUFAS – PASSOS SUAVES PELO VERSO.pdf
Colégio Santa Teresinha
 
PPTX
Cultivation practice of Litchi in Nepal.pptx
UmeshTimilsina1
 
PPTX
Soil and agriculture microbiology .pptx
Keerthana Ramesh
 
PDF
People & Earth's Ecosystem -Lesson 2: People & Population
marvinnbustamante1
 
PPTX
A PPT on Alfred Lord Tennyson's Ulysses.
Beena E S
 
PPTX
SPINA BIFIDA: NURSING MANAGEMENT .pptx
PRADEEP ABOTHU
 
PDF
Isharyanti-2025-Cross Language Communication in Indonesian Language
Neny Isharyanti
 
PDF
DIGESTION OF CARBOHYDRATES,PROTEINS,LIPIDS
raviralanaresh2
 
How to Create a PDF Report in Odoo 18 - Odoo Slides
Celine George
 
Stokey: A Jewish Village by Rachel Kolsky
History of Stoke Newington
 
ARAL-Orientation_Morning-Session_Day-11.pdf
JoelVilloso1
 
0725.WHITEPAPER-UNIQUEWAYSOFPROTOTYPINGANDUXNOW.pdf
Thomas GIRARD, MA, CDP
 
grade 5 lesson matatag ENGLISH 5_Q1_PPT_WEEK4.pptx
SireQuinn
 
Reconstruct, Restore, Reimagine: New Perspectives on Stoke Newington’s Histor...
History of Stoke Newington
 
How to Manage Large Scrollbar in Odoo 18 POS
Celine George
 
Universal immunization Programme (UIP).pptx
Vishal Chanalia
 
CEREBRAL PALSY: NURSING MANAGEMENT .pdf
PRADEEP ABOTHU
 
I AM MALALA The Girl Who Stood Up for Education and was Shot by the Taliban...
Beena E S
 
2025 Winter SWAYAM NPTEL & A Student.pptx
Utsav Yagnik
 
How to Set Maximum Difference Odoo 18 POS
Celine George
 
CONCURSO DE POESIA “POETUFAS – PASSOS SUAVES PELO VERSO.pdf
Colégio Santa Teresinha
 
Cultivation practice of Litchi in Nepal.pptx
UmeshTimilsina1
 
Soil and agriculture microbiology .pptx
Keerthana Ramesh
 
People & Earth's Ecosystem -Lesson 2: People & Population
marvinnbustamante1
 
A PPT on Alfred Lord Tennyson's Ulysses.
Beena E S
 
SPINA BIFIDA: NURSING MANAGEMENT .pptx
PRADEEP ABOTHU
 
Isharyanti-2025-Cross Language Communication in Indonesian Language
Neny Isharyanti
 
DIGESTION OF CARBOHYDRATES,PROTEINS,LIPIDS
raviralanaresh2
 

2.3 sequantial logic circuit

  • 1. 2.3 Build sequential logic circuit Combinational logic circuit Sequential logic circuit Flip-flop Build flip-flop using logic gates 1
  • 2. Objectives: • 1 Define sequential logic circuit. • 2 Differentiate between combinational logic circuit and sequential logic circuit. • 3 Describe flip - flop. • 4 Identify various types of flip-flops. • 5 Build SR, JK, T and D flip – flop using logic gates. • 6 Draw the symbol and truth table of SR, JK, T and D flip – flop. 2
  • 3. Sequential & Combinational logic circuit 1 Define sequential logic circuit. 2 Differentiate between combinational logic circuit and sequential logic circuit. 3
  • 4. Difference between Combinational & Sequential logic circuit Combinational Logic Circuits Basic building blocks include: Sequential Logic Circuits Basic building blocks include FLIP-FLOPS: 4
  • 5. Sequential S C Q logic circuit R Q' • Sequential logic is the type of digital system that does not only depend on current input, but also the previous history of the system. • For that reason sequential logic requires memory elements to function. • The building blocks used to construct devices that store data are called flip-flops. 5
  • 6. Sequential logic circuit Sequential circuit have loops – these enable curcuits to receive feedback 6
  • 7. Combinational logic circuit • Combinational logic is an interconnection of logic gates to generate a specificities logic function where the inputs result in an immediate output, having no memory or storage capabilities. • There are function only based on their inputs, and NOT based on clocks. 7
  • 8. Combinational logic circuit Combinational circuit is combination of various logic gates 8
  • 10. Flip-Flop • "Flip-flop" is the common name given to two-state devices which offer basic memory for sequential logic operations. • Flip-flops are heavily used for digital data storage and transfer and are commonly used in banks called "registers" for the storage of binary numerical data. 10
  • 11. Flip-Flop • Flip-flop are basic storage/memory elements. • Flip-flop are essentially 1-bit storage devices. • Types of flip-flops are: • 1. SR Flip-flop • 2. JK Flip-flop • 3. D Flip-flop • 4. T Flip-flop • Application of flip-flop: • 1. Counter 4. Logic controller • 2. Register 5. Frequency Divider • 3. Memory 11
  • 12. SR Flip-Flop 4 Identify various types of flip-flops. 5 Build SR, JK, T and D flip – flop using logic gates. 6 Draw the symbol and truth table of SR, JK, T and D flip – flop. 12
  • 13. SR Flip-Flop S Q R Q' • The simplest binary storage device. • SR Flip-flop have 2 inputs (SET & RESET) and 2 outputs (Q & Q’). NOTE: Q & Q’ are compliments of each other • The SR flip flop is sometimes referred to as an SR latch. The Term latch refers to its use as a temporary memory storage device. 13
  • 14. SR Flip-Flop Symbol: SR Flip-flop (Active HIGH) SR Flip-flop (Active HIGH) NOR gate Symbol 14
  • 15. SR Flip-Flop Symbol: SR Flip-flop (Active LOW) SR Flip-flop (Active LOW) NAND gate Symbol 15
  • 16. SR Flip-Flop Truth Table: S R Q Q' No change. Latch S Q 0 0 NC NC remained in present state. 1 0 1 0 Latch SET. R Q' 0 1 0 1 Latch RESET. SR Flip-flop 1 1 0 0 Invalid condition. (Active HIGH) S' R' Q Q' No change. Latch S Q 1 1 NC NC remained in present state. 0 1 1 0 Latch SET. R Q' 1 0 0 1 Latch RESET. SR Flip-flop 0 0 1 1 Invalid condition. (Active LOW) 16
  • 18. IQ Test! What is the mode of operation of the SR flip-flop (set, reset or hold)? What is the output at Q from the SR flip-flop (active LOW inputs)? L ? High H Mode of operation = Set ? H ? High H Mode of operation = Hold ? H ? Low L Mode of operation = ? Reset 18
  • 19. Clock SR Flip-Flop 4 Identify various types of flip-flops. 5 Build SR, JK, T and D flip – flop using logic gates. 6 Draw the symbol and truth table of SR, JK, T and D flip – flop. 19
  • 20. Clock • Flip-flops: synchronous bistable devices • Output changes state at a specified point on a triggering input called the clock. • Change state either at the positive edge (rising edge) or at the negative edge (falling edge) of the clock signal. Clock signal Positive Negative edges edges 20
  • 21. Clock SR Flip-Flop • The Clocked SR Flip Flop like SR flip-flop but with extra third input of a standard clock pulse. • The output of Q and NOT Q will not change (despite making changes to the inputs Set & Reset) in a Clocked RS Flip-flop Until receiving a signal from the clock. 21
  • 22. Clock SR Flip-Flop Symbol: Clock SR Flip-flop (+ve EDGE) Clock SR Flip-flop (+ve EDGE) Combination gate Symbol 22
  • 23. S Q Pulse CLK transition detector Q' R CLK' CLK' CLK CLK* CLK CLK* CLK CLK CLK' CLK' CLK* CLK* Positive-going transition Negative-going transition (rising edge) (falling edge) 23
  • 24. Clock SR Flip-Flop Truth Table: • S-R flip-flop: on the triggering edge of the clock pulse, • S=HIGH and R=LOW is a SET state • R=HIGH (and S=LOW) is a RESET state • If both SR inputs LOW a NO change • If both SR inputs HIGH a INVALID • Truth table of positive edge-triggered S-R flip-flop: S R CLK Q(t+1) Comments X = irrelevant (“don’t care”) 0 0 X Q(t) No change  = clock transition LOW to HIGH 0 1  0 Reset 1 0  1 Set 1 1  ? Invalid 24
  • 25. Clock SR Flip-Flop Timing Diagram: How if we add clock as input? Please draw the output waveform for me (Positive edge triggered) 25
  • 26. D Flip-Flop 4 Identify various types of flip-flops. 5 Build SR, JK, T and D flip – flop using logic gates. 6 Draw the symbol and truth table of SR, JK, T and D flip – flop. 26
  • 27. D Flip-Flop D Q Truth Table: C Q' • D flip-flop: single input D (data) • D=HIGH a SET state • D=LOW a RESET state • Q follows D at the clock edge. • D flip-flop formed by add NOT gate between SR input. D S Q D CLK Q(t+1) Comments CLK C 1  1 Set R Q' 0  0 Reset  = clock transition LOW to HIGH 27
  • 28. D Flip-Flop Symbol: D Q CLK Q' D Flip-flop (+ve EDGE) D Flip-flop (+ve EDGE) Combination gate Symbol 28
  • 29. D Flip-Flop Timing Diagram: CLK CLK CLK CLK Q Q’ 29
  • 30. JK Flip-Flop 4 Identify various types of flip-flops. 5 Build SR, JK, T and D flip – flop using logic gates. 6 Draw the symbol and truth table of SR, JK, T and D flip – flop. 30
  • 31. JK Flip-Flop J C Q K Q' • J-K flip-flop: Q and Q' are feedback to the pulse- steering NAND gates. • No invalid state. • Include a toggle state. • J=HIGH (and K=LOW) a SET state • K=HIGH (and J=LOW) a RESET state • If both inputs LOW a NO change • If both inputs HIGH a Toggle 31
  • 32. JK Flip-Flop Symbol: J Q CLK Q' K JK Flip-flop (+ve EDGE) JK Flip-flop (+ve EDGE) Combination gate Symbol 32
  • 33. JK Flip-Flop Truth Table: J K CLK Q(t+1) Comments 0 0  Q(t) No change 0 1  0 Reset 1 0  1 Set 1 1  Q(t)' Toggle 33
  • 34. JK Flip-Flop Application: Frequency Division High High High J J QA J QB Q CLK C CLK C C K K K CLK CLK Q QA QB Divide clock frequency by 2. Divide clock frequency by 4. 34
  • 35. JK Flip-Flop Timing Diagram: Similar to S-R flip-flop but toggles when J = K = 1 35
  • 36. T Flip-Flop 4 Identify various types of flip-flops. 5 Build SR, JK, T and D flip – flop using logic gates. 6 Draw the symbol and truth table of SR, JK, T and D flip – flop. 36
  • 37. T Flip-Flop T J Q Truth Table: CLK C K Q' • T flip-flop: single-input version of the J-K flip flop, formed by tying both inputs together. T T CLK Q(t+1) Comments Q 0  Q(t) No change CLK 1  Q(t)' Toggle Q' 37