SlideShare a Scribd company logo
Design and Implementation of VLSI Systems
                   (EN1600)
            Lecture 22: Sequential Circuit Design (1/2)




S. Reda EN160 SP’08
Sequential circuits
   • Purpose of time: we need time to order events
     • Combinational logic
             – output depends on current inputs
       • Sequential logic
             – events are ordered using the clock signal
             – output depends on current and previous inputs
             – memory elements are used to store the results of the events
               or states (certainly if they will be used in the future).
                          Inputs                               Outputs
                                      COMBINATIONAL
                                            LOGIC

                      Current State
                                                           Next state
                                           Registers
                                           Q           D


                                                 CLK


S. Reda EN160 SP’08
Differences between latches and flipflops




         • Latches are level sensitive
         • Flipflops are edge triggered

S. Reda EN160 SP’08
Basic latch and bistability requirement




                           A                                         A
            V i 2 5 V o1




                                                      V i 2 5 V o1
                                   C                                     C




                                              B                                     B
                                       V i 1 5 V o2                          V i 1 5 V o2
                               d                                     d
S. Reda EN160 SP’08
1. Latch Design

      • Pass Transistor Latch
      • Pros                                   φ
            + Tiny
                                           D       Q
            + Low clock load
      • Cons
            –   Vt drop
            –   nonrestoring
            –   output noise sensitivity
            –   dynamic
            –   diffusion input

S. Reda EN160 SP’08
1. Latch Design
                                                         φ
     • Transmission gate
                                                 D               Q
           + No Vt drop
           - Requires inverted clock                     φ


                                                 φ
    • Inverting buffer
                                                     X
          + Restoring                        D                       Q

          + Fixes either                         φ
                                                             φ
                • Output noise sensitivity
                • Or diffusion input         D                       Q

          – Inverted output                                  φ




S. Reda EN160 SP’08
1. Latch Design
                                                φ
    • Tristate feedback
                                                    X
                                            D                       Q
          + Static
                                                            φ
          – Output noise sensitivity            φ

          – Diffusion input
                                                            φ

    • Static latches are now essential
     • Buffered input
                                                    φ
           + Fixes diffusion input                      X
                                        D                           Q
           + Noninverting                                       φ
                                                    φ
           - Output noise sensitivity
                                                                φ


S. Reda EN160 SP’08
1. Latch Design
    • Buffered output                                                         Q
                                                          φ
          + Output noise sensitivity eliminated               X
                                             D
    • Widely used in standard cells                                   φ
                                                          φ
          + Very robust (most important)
          - Rather large
                                                                      φ
          - Rather slow (1.5 – 2 FO4 delays)
          - High clock loading                        φ                   Q

                                                          X
    • Datapath latch                              D
                                                                  φ
                                                      φ
          + Smaller, faster
          - unbuffered input
                                                                  φ


S. Reda EN160 SP’08
2. Flip-flop design

      • Flip-flop is built as pair of back-to-back latches
                          φ           φ
                              X
                      D                           Q

                          φ           φ


                          φ               φ           Q

                              X
                      D                               Q
                                  φ           φ
                          φ               φ


                                  φ           φ



S. Reda EN160 SP’08
2. Latch/Flip-flop with ENABLE
   • Enable: ignore clock when en = 0
         – Mux: increase latch D-Q delay
         – Clock Gating: increase in setup time, skew
                              Symbol                Multiplexer Design           Clock Gating Design
                                                                                          φ en


                                 φ                                φ

                                                    D       1




                                                                                          Latch
                                Latch




                                                                 Latch
                          D             Q                                Q            D           Q
                                                            0

                                en                          en


                                                                                          φ en
                                                                  φ

                                 φ              D       1
                                                                 Flop




                                                                             Q
                                                        0
                                Flop




                                                                                          Flop
                      D                     Q                                     D                   Q
                                                        en
                                en

S. Reda EN160 SP’08
2. Latch/Flip-flop with SET/RESET
      • Set forces output high when enabled
      • Flip-flop with asynchronous set and reset




                          [Figure from Baker]
S. Reda EN160 SP’08
Setup and hold times

        CLK
                                                          t    Register
                           tsu   thold                        D       Q


           D                D ATA                                   CLK
                           STABL E                        t
                                     tc 2   q


           Q                                     D ATA
                                                STABL E   t




  •    Setup time: the minimum time that the data input must be valid
       before clock transition
  •    Hold time: the minimum time that the data input must be valid after
       the clock transition


S. Reda EN160 SP’08
Sequencing timing terminology




              tpd     Logic Prop. Delay              tpdq     Latch D-Q Prop Delay

              tcd     Logic Cont. Delay              tpcq     Latch D-Q Cont. Delay

              tpcq    Latch/Flop Clk-Q Prop Delay    tsetup   Latch/Flop Setup Time

              tccq    Latch/Flop Clk-Q Cont. Delay   thold    Latch/Flop Hold Time
S. Reda EN160 SP’08

More Related Content

What's hot

Promo book2 ch1_feb23_11
Promo book2 ch1_feb23_11Promo book2 ch1_feb23_11
Promo book2 ch1_feb23_11
Sarah Krystelle
 
Logic Design - Chapter 6: Flip Flops
Logic Design - Chapter 6: Flip FlopsLogic Design - Chapter 6: Flip Flops
Logic Design - Chapter 6: Flip Flops
Gouda Mando
 
2.3 sequantial logic circuit
2.3 sequantial logic circuit2.3 sequantial logic circuit
2.3 sequantial logic circuit
Wan Afirah
 
Unit 4 clocked_flip_flops
Unit 4 clocked_flip_flopsUnit 4 clocked_flip_flops
Unit 4 clocked_flip_flops
UNAD
 
Ee2 chapter17 monstable_operation
Ee2 chapter17 monstable_operationEe2 chapter17 monstable_operation
Ee2 chapter17 monstable_operation
CK Yang
 

What's hot (18)

Promo book2 ch1_feb23_11
Promo book2 ch1_feb23_11Promo book2 ch1_feb23_11
Promo book2 ch1_feb23_11
 
74hc373 data sheet
74hc373 data sheet74hc373 data sheet
74hc373 data sheet
 
Latches and flip flop
Latches and flip flopLatches and flip flop
Latches and flip flop
 
Logic Design - Chapter 6: Flip Flops
Logic Design - Chapter 6: Flip FlopsLogic Design - Chapter 6: Flip Flops
Logic Design - Chapter 6: Flip Flops
 
2.3 sequantial logic circuit
2.3 sequantial logic circuit2.3 sequantial logic circuit
2.3 sequantial logic circuit
 
Ds flip flop
Ds flip flopDs flip flop
Ds flip flop
 
Cs1104 11
Cs1104 11Cs1104 11
Cs1104 11
 
Unit 4 clocked_flip_flops
Unit 4 clocked_flip_flopsUnit 4 clocked_flip_flops
Unit 4 clocked_flip_flops
 
Trts d flip flop1
Trts d flip flop1Trts d flip flop1
Trts d flip flop1
 
Edge Trigged Flip Flops
Edge Trigged Flip FlopsEdge Trigged Flip Flops
Edge Trigged Flip Flops
 
What are Flip Flops and Its types.
What are Flip Flops and Its types.What are Flip Flops and Its types.
What are Flip Flops and Its types.
 
Latches and flip flops
Latches and flip flopsLatches and flip flops
Latches and flip flops
 
SEQUENTIAL CIRCUITS [Flip-flops and Latches]
SEQUENTIAL CIRCUITS [Flip-flops and Latches]SEQUENTIAL CIRCUITS [Flip-flops and Latches]
SEQUENTIAL CIRCUITS [Flip-flops and Latches]
 
Pll Basic Linkedin2
Pll Basic Linkedin2Pll Basic Linkedin2
Pll Basic Linkedin2
 
Sequential logic circuits flip-flop pt 3
Sequential logic circuits   flip-flop pt 3Sequential logic circuits   flip-flop pt 3
Sequential logic circuits flip-flop pt 3
 
Ee2 chapter17 monstable_operation
Ee2 chapter17 monstable_operationEe2 chapter17 monstable_operation
Ee2 chapter17 monstable_operation
 
latches
 latches latches
latches
 
14827 unit 4_clocked_flip_flops
14827 unit 4_clocked_flip_flops14827 unit 4_clocked_flip_flops
14827 unit 4_clocked_flip_flops
 

Viewers also liked (20)

Lecture18
Lecture18Lecture18
Lecture18
 
VlSI Lecture04
VlSI Lecture04VlSI Lecture04
VlSI Lecture04
 
Lecture31
Lecture31Lecture31
Lecture31
 
Lecture01
Lecture01Lecture01
Lecture01
 
Lecture20
Lecture20Lecture20
Lecture20
 
Lecture19
Lecture19Lecture19
Lecture19
 
Lecture23
Lecture23Lecture23
Lecture23
 
Lecture15
Lecture15Lecture15
Lecture15
 
VLSI Lecture03
VLSI Lecture03VLSI Lecture03
VLSI Lecture03
 
Lecture14
Lecture14Lecture14
Lecture14
 
Lecture32
Lecture32Lecture32
Lecture32
 
Lecture10
Lecture10Lecture10
Lecture10
 
Lecture24
Lecture24Lecture24
Lecture24
 
vlsi Lecture05
vlsi Lecture05vlsi Lecture05
vlsi Lecture05
 
Lecture28
Lecture28Lecture28
Lecture28
 
Lecture25
Lecture25Lecture25
Lecture25
 
Lecture29
Lecture29Lecture29
Lecture29
 
Lecture17
Lecture17Lecture17
Lecture17
 
Lecture16
Lecture16Lecture16
Lecture16
 
Lecture09
Lecture09Lecture09
Lecture09
 

Similar to Lecture22 (15)

9.sequential+circuits part+1
9.sequential+circuits part+1 9.sequential+circuits part+1
9.sequential+circuits part+1
 
Latch & Flip-Flop.pptx
Latch & Flip-Flop.pptxLatch & Flip-Flop.pptx
Latch & Flip-Flop.pptx
 
Latch & Flip-Flop Design.pptx
Latch & Flip-Flop Design.pptxLatch & Flip-Flop Design.pptx
Latch & Flip-Flop Design.pptx
 
Quadrature amplitude modulation qam transmitter
Quadrature amplitude modulation qam transmitterQuadrature amplitude modulation qam transmitter
Quadrature amplitude modulation qam transmitter
 
Noise reduction techniques
Noise reduction techniquesNoise reduction techniques
Noise reduction techniques
 
Lecture30
Lecture30Lecture30
Lecture30
 
Lect20 Engin112
Lect20 Engin112Lect20 Engin112
Lect20 Engin112
 
C:\Documents And Settings\Fredlin\Desktop\Ic Design\Synthesis200301
C:\Documents And Settings\Fredlin\Desktop\Ic Design\Synthesis200301C:\Documents And Settings\Fredlin\Desktop\Ic Design\Synthesis200301
C:\Documents And Settings\Fredlin\Desktop\Ic Design\Synthesis200301
 
Advanced computer architecture
Advanced computer architectureAdvanced computer architecture
Advanced computer architecture
 
Ig2616051609
Ig2616051609Ig2616051609
Ig2616051609
 
Flip flop
Flip flopFlip flop
Flip flop
 
study Domain Transform for Edge-Aware Image and Video Processing
study Domain Transform for Edge-Aware Image and Video Processingstudy Domain Transform for Edge-Aware Image and Video Processing
study Domain Transform for Edge-Aware Image and Video Processing
 
Tda8511 j
Tda8511 jTda8511 j
Tda8511 j
 
Filter dengan-op-amp
Filter dengan-op-ampFilter dengan-op-amp
Filter dengan-op-amp
 
Lect19 Engin112
Lect19 Engin112Lect19 Engin112
Lect19 Engin112
 

More from Dharmesh Goyal (8)

What's new in Bluetooth 5 ? Facts Unleashed
What's new in Bluetooth 5 ? Facts UnleashedWhat's new in Bluetooth 5 ? Facts Unleashed
What's new in Bluetooth 5 ? Facts Unleashed
 
Lecture32
Lecture32Lecture32
Lecture32
 
Lecture27
Lecture27Lecture27
Lecture27
 
Lecture26
Lecture26Lecture26
Lecture26
 
Lecture13
Lecture13Lecture13
Lecture13
 
Lecture08
Lecture08Lecture08
Lecture08
 
vlsi Lecture06
vlsi Lecture06vlsi Lecture06
vlsi Lecture06
 
Vlsi Lecture02
Vlsi Lecture02Vlsi Lecture02
Vlsi Lecture02
 

Recently uploaded

Structuring Teams and Portfolios for Success
Structuring Teams and Portfolios for SuccessStructuring Teams and Portfolios for Success
Structuring Teams and Portfolios for Success
UXDXConf
 

Recently uploaded (20)

Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdfSimplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
 
WSO2CONMay2024OpenSourceConferenceDebrief.pptx
WSO2CONMay2024OpenSourceConferenceDebrief.pptxWSO2CONMay2024OpenSourceConferenceDebrief.pptx
WSO2CONMay2024OpenSourceConferenceDebrief.pptx
 
10 Differences between Sales Cloud and CPQ, Blanka Doktorová
10 Differences between Sales Cloud and CPQ, Blanka Doktorová10 Differences between Sales Cloud and CPQ, Blanka Doktorová
10 Differences between Sales Cloud and CPQ, Blanka Doktorová
 
Measures in SQL (a talk at SF Distributed Systems meetup, 2024-05-22)
Measures in SQL (a talk at SF Distributed Systems meetup, 2024-05-22)Measures in SQL (a talk at SF Distributed Systems meetup, 2024-05-22)
Measures in SQL (a talk at SF Distributed Systems meetup, 2024-05-22)
 
Structuring Teams and Portfolios for Success
Structuring Teams and Portfolios for SuccessStructuring Teams and Portfolios for Success
Structuring Teams and Portfolios for Success
 
Top 10 Symfony Development Companies 2024
Top 10 Symfony Development Companies 2024Top 10 Symfony Development Companies 2024
Top 10 Symfony Development Companies 2024
 
What's New in Teams Calling, Meetings and Devices April 2024
What's New in Teams Calling, Meetings and Devices April 2024What's New in Teams Calling, Meetings and Devices April 2024
What's New in Teams Calling, Meetings and Devices April 2024
 
SOQL 201 for Admins & Developers: Slice & Dice Your Org’s Data With Aggregate...
SOQL 201 for Admins & Developers: Slice & Dice Your Org’s Data With Aggregate...SOQL 201 for Admins & Developers: Slice & Dice Your Org’s Data With Aggregate...
SOQL 201 for Admins & Developers: Slice & Dice Your Org’s Data With Aggregate...
 
Speed Wins: From Kafka to APIs in Minutes
Speed Wins: From Kafka to APIs in MinutesSpeed Wins: From Kafka to APIs in Minutes
Speed Wins: From Kafka to APIs in Minutes
 
AI presentation and introduction - Retrieval Augmented Generation RAG 101
AI presentation and introduction - Retrieval Augmented Generation RAG 101AI presentation and introduction - Retrieval Augmented Generation RAG 101
AI presentation and introduction - Retrieval Augmented Generation RAG 101
 
FDO for Camera, Sensor and Networking Device – Commercial Solutions from VinC...
FDO for Camera, Sensor and Networking Device – Commercial Solutions from VinC...FDO for Camera, Sensor and Networking Device – Commercial Solutions from VinC...
FDO for Camera, Sensor and Networking Device – Commercial Solutions from VinC...
 
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...
 
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdfThe Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
 
How Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdf
How Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdfHow Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdf
How Red Hat Uses FDO in Device Lifecycle _ Costin and Vitaliy at Red Hat.pdf
 
Connecting the Dots in Product Design at KAYAK
Connecting the Dots in Product Design at KAYAKConnecting the Dots in Product Design at KAYAK
Connecting the Dots in Product Design at KAYAK
 
Buy Epson EcoTank L3210 Colour Printer Online.pdf
Buy Epson EcoTank L3210 Colour Printer Online.pdfBuy Epson EcoTank L3210 Colour Printer Online.pdf
Buy Epson EcoTank L3210 Colour Printer Online.pdf
 
Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...
Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...
Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...
 
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptx
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptxUnpacking Value Delivery - Agile Oxford Meetup - May 2024.pptx
Unpacking Value Delivery - Agile Oxford Meetup - May 2024.pptx
 
The Metaverse: Are We There Yet?
The  Metaverse:    Are   We  There  Yet?The  Metaverse:    Are   We  There  Yet?
The Metaverse: Are We There Yet?
 
PLAI - Acceleration Program for Generative A.I. Startups
PLAI - Acceleration Program for Generative A.I. StartupsPLAI - Acceleration Program for Generative A.I. Startups
PLAI - Acceleration Program for Generative A.I. Startups
 

Lecture22

  • 1. Design and Implementation of VLSI Systems (EN1600) Lecture 22: Sequential Circuit Design (1/2) S. Reda EN160 SP’08
  • 2. Sequential circuits • Purpose of time: we need time to order events • Combinational logic – output depends on current inputs • Sequential logic – events are ordered using the clock signal – output depends on current and previous inputs – memory elements are used to store the results of the events or states (certainly if they will be used in the future). Inputs Outputs COMBINATIONAL LOGIC Current State Next state Registers Q D CLK S. Reda EN160 SP’08
  • 3. Differences between latches and flipflops • Latches are level sensitive • Flipflops are edge triggered S. Reda EN160 SP’08
  • 4. Basic latch and bistability requirement A A V i 2 5 V o1 V i 2 5 V o1 C C B B V i 1 5 V o2 V i 1 5 V o2 d d S. Reda EN160 SP’08
  • 5. 1. Latch Design • Pass Transistor Latch • Pros φ + Tiny D Q + Low clock load • Cons – Vt drop – nonrestoring – output noise sensitivity – dynamic – diffusion input S. Reda EN160 SP’08
  • 6. 1. Latch Design φ • Transmission gate D Q + No Vt drop - Requires inverted clock φ φ • Inverting buffer X + Restoring D Q + Fixes either φ φ • Output noise sensitivity • Or diffusion input D Q – Inverted output φ S. Reda EN160 SP’08
  • 7. 1. Latch Design φ • Tristate feedback X D Q + Static φ – Output noise sensitivity φ – Diffusion input φ • Static latches are now essential • Buffered input φ + Fixes diffusion input X D Q + Noninverting φ φ - Output noise sensitivity φ S. Reda EN160 SP’08
  • 8. 1. Latch Design • Buffered output Q φ + Output noise sensitivity eliminated X D • Widely used in standard cells φ φ + Very robust (most important) - Rather large φ - Rather slow (1.5 – 2 FO4 delays) - High clock loading φ Q X • Datapath latch D φ φ + Smaller, faster - unbuffered input φ S. Reda EN160 SP’08
  • 9. 2. Flip-flop design • Flip-flop is built as pair of back-to-back latches φ φ X D Q φ φ φ φ Q X D Q φ φ φ φ φ φ S. Reda EN160 SP’08
  • 10. 2. Latch/Flip-flop with ENABLE • Enable: ignore clock when en = 0 – Mux: increase latch D-Q delay – Clock Gating: increase in setup time, skew Symbol Multiplexer Design Clock Gating Design φ en φ φ D 1 Latch Latch Latch D Q Q D Q 0 en en φ en φ φ D 1 Flop Q 0 Flop Flop D Q D Q en en S. Reda EN160 SP’08
  • 11. 2. Latch/Flip-flop with SET/RESET • Set forces output high when enabled • Flip-flop with asynchronous set and reset [Figure from Baker] S. Reda EN160 SP’08
  • 12. Setup and hold times CLK t Register tsu thold D Q D D ATA CLK STABL E t tc 2 q Q D ATA STABL E t • Setup time: the minimum time that the data input must be valid before clock transition • Hold time: the minimum time that the data input must be valid after the clock transition S. Reda EN160 SP’08
  • 13. Sequencing timing terminology tpd Logic Prop. Delay tpdq Latch D-Q Prop Delay tcd Logic Cont. Delay tpcq Latch D-Q Cont. Delay tpcq Latch/Flop Clk-Q Prop Delay tsetup Latch/Flop Setup Time tccq Latch/Flop Clk-Q Cont. Delay thold Latch/Flop Hold Time S. Reda EN160 SP’08