SlideShare a Scribd company logo
Design and Implementation of VLSI Systems
                   (EN1600)
                 Lecture 25: Datapath Subsystems 1/4




S. Reda EN1600 SP’08
Datapath Subsystems

       Adders
       Multipliers
       Comparators
       Counters
       Shifters




S. Reda EN1600 SP’08
Adders
   Addition is the most commonly
   used arithmetic operation
   → could be speed limiting
   → optimization of the adder is
   of the utmost importance




S. Reda EN1600 SP’08
A N-bit carry-ripple adder can be
   constructed by cascading 1-bit FA

                       A0        B0              A1        B1          A2        B2          A3        B3


               Ci,0                     Co,0                    Co,1                  Co,2
                            FA                        FA                    FA                    FA
                                      (= Ci,1)


                            S0                        S1                    S2                    S3


                       Worst case delay linear with the number of bits
                                                      td = O(N)

                                                       tadder = (N-1)tcarry + tsum

                       Goal: Make the fastest possible carry path circuit

S. Reda EN1600 SP’08
Full adder Boolean equations
                                               A   B
               S = A⊕ B ⊕C                      Full
                                       Cin               Cout
           Cout = MAJ ( A, B, C )              adder

                                                Sum


                                     S = A ⊕ B ⊕ Ci

                                        = ABC i + ABC i + ABCi + ABCi
                                     C o = AB + BCi + AC i
   S can be factored to reuse the Co term




S. Reda EN1600 SP’08
An implementation that requires 28 transistors
                                                                            VDD

                            VDD
                                                          Ci       A         B

                    A             B
                                                                                  A

                    B
                                  Ci                                              B
                                                                                            VDD
                    A
                                           X
                                                                                  Ci

               Ci                      A
                                                                                       Ci

           A            B              B       VDD
                                                     A         B       Ci              A


                                                     Co                                B




S. Reda EN1600 SP’08
Problems with the design                                                      VDD

                                 VDD
                                                               Ci       A         B

                         A             B
                                                                                       A

                         B
                                       Ci                                              B
                                                                                                 VDD
                         A
                                                X
                                                                                       Ci

                    Ci                      A
                                                                                            Ci

               A             B              B       VDD
                                                          A         B       Ci              A


                                                          Co                                B


                   Problems:                                                           Note
     • Large area                         • Ci is connected to the transistor
     • Tall transistor stacks
                                            closest to the output
     • Large intrinsic capacitance for Co

S. Reda EN1600 SP’08
Self-dual property of FAs
      A. A full adder receiving
         complementary inputs
         produce complementary
         outputs
      B. An inverting full adder receiving
         complementary inputs produce
         true outputs
                                             A        B                               A        B

     Self duality enables two
     optimizations:                  Ci          FA            Co           Ci            FA       Co
     B.PGK mirror FA
     C.Faster ripple carry
     adder                                       S                                         S


                                                          S ( A, B, C i ) = S ( A, B , C i )

                                                      C ( A, B, C ) = C ( A, B , C )
                                                       o         i     o          i
S. Reda EN1600 SP’08
A. PGK mirror FA design




    • For a full adder, define what happens to carry
       – Generate: Cout = 1 independent of C
             • G=A•B
          – Propagate: Cout = C
             • P=A⊕B
          – Kill: Cout = 0 independent of C
                • K = ~A • ~B
S. Reda EN1600 SP’08
A. The mirror adder


                                                                            VDD

                                   VDD                           VDD              A

                      A        B         B               A   B     Ci             B
                                             Kill
      "0"-Propagate                      A                                        Ci
                                                    Co
                          Ci                                                           S
                                         A                                        Ci
      "1"-Propagate                          Generate
                      A        B         B               A   B         Ci         A


    Still need two                                                               B

       inverters to                  • Less area
       generate Co and               • Shorter stacks
       S
S. Reda EN1600 SP’08
                                     • Less intrinsic capacitance
A. Mirror adder stick diagram

       VDD




                A      B   Ci    B   A Ci   Co   Ci   A   B


                            Co

                                        S

        GND

S. Reda EN1600 SP’08
B. Minimize critical path (carry) by reducing
   the number of inverters along the path

                                                         Even cell             Odd cell
             A0        B0          A1        B1          A2        B2          A3        B3


     Ci,0           ,       Co,0          ,       Co,1          ,       Co,2          ,       Co,3
                  FA                    FA                    FA                    FA



                  S0                    S1                    S2                    S3




        • FA’ is a FA without the inverter in the carry path


S. Reda EN1600 SP’08

More Related Content

PDF
PPTX
Basic Of Airline Fares
PPTX
Ani
PDF
11 x1 t13 03 angle theorems 2
PDF
Ventilation And Exhaust Fans By Wadbros Imports & Exports
PPT
Doko.vn 158762-ve-bieu-do-noi-luc-theo-phuong-phap-nhan
PPT
Vẽ biểu đồ nội lực Q ,M
PPT
Torque on a coil
Basic Of Airline Fares
Ani
11 x1 t13 03 angle theorems 2
Ventilation And Exhaust Fans By Wadbros Imports & Exports
Doko.vn 158762-ve-bieu-do-noi-luc-theo-phuong-phap-nhan
Vẽ biểu đồ nội lực Q ,M
Torque on a coil

Viewers also liked (14)

PPT
L5 Adders
PPTX
111adder
PPT
Lecture28
PDF
Good report on Adders/Prefix adders
PPT
Cmos Arithmetic Circuits
DOCX
Half adder layout design
PPTX
design of high speed performance 64bit mac unit
PPTX
Wallace tree multiplier.pptx1
PDF
Wallace tree multiplier
PPT
Booth Multiplier
PDF
Bit Serial multiplier using Verilog
DOC
All VLSI programs
PPTX
Array multiplier
PPT
Booths Multiplication Algorithm
L5 Adders
111adder
Lecture28
Good report on Adders/Prefix adders
Cmos Arithmetic Circuits
Half adder layout design
design of high speed performance 64bit mac unit
Wallace tree multiplier.pptx1
Wallace tree multiplier
Booth Multiplier
Bit Serial multiplier using Verilog
All VLSI programs
Array multiplier
Booths Multiplication Algorithm
Ad

Similar to Lecture25 (20)

PDF
CMOS Analog Design Lect 1
PDF
电源完整性设计详解
PDF
343logic-design-lab-manual-10 esl38-3rd-sem-2011
PDF
Power efficient design imec
PDF
Multi-pipes
PPT
PPT
Unit 2 arithmetics
PDF
Intelligent Tutorial System
PPT
Lecture31
PDF
newtableconcept assembly instructions sheet
PPTX
Numerical conformal mapping of an irregular area
PDF
IJERD (www.ijerd.com) International Journal of Engineering Research and Devel...
PPT
Lecture26
PDF
Computer science study material
PDF
SPICE MODEL of GT20J321 (Professional+FWDS PSpice Model) in SPICE PARK
PDF
SPICE MODEL of 2SK3703 (Professional+BDP Model) in SPICE PARK
PDF
74 f85
PDF
7.digital basicsa
PDF
Copy of 7.digital basicsa
PPT
Half adder and full adder
CMOS Analog Design Lect 1
电源完整性设计详解
343logic-design-lab-manual-10 esl38-3rd-sem-2011
Power efficient design imec
Multi-pipes
Unit 2 arithmetics
Intelligent Tutorial System
Lecture31
newtableconcept assembly instructions sheet
Numerical conformal mapping of an irregular area
IJERD (www.ijerd.com) International Journal of Engineering Research and Devel...
Lecture26
Computer science study material
SPICE MODEL of GT20J321 (Professional+FWDS PSpice Model) in SPICE PARK
SPICE MODEL of 2SK3703 (Professional+BDP Model) in SPICE PARK
74 f85
7.digital basicsa
Copy of 7.digital basicsa
Half adder and full adder
Ad

More from Dharmesh Goyal (20)

PDF
What's new in Bluetooth 5 ? Facts Unleashed
PPT
Lecture19
PPT
Lecture20
PPT
Lecture32
PPT
Lecture30
PPT
Lecture29
PPT
Lecture27
PPT
Lecture24
PPT
Lecture23
PPT
Lecture22
PPT
Lecture21
PPT
Lecture32
PPT
Lecture18
PPT
Lecture17
PPT
Lecture16
PPT
Lecture15
PPT
Lecture14
PPT
Lecture13
PPT
Lecture19
PPT
Lecture10
What's new in Bluetooth 5 ? Facts Unleashed
Lecture19
Lecture20
Lecture32
Lecture30
Lecture29
Lecture27
Lecture24
Lecture23
Lecture22
Lecture21
Lecture32
Lecture18
Lecture17
Lecture16
Lecture15
Lecture14
Lecture13
Lecture19
Lecture10

Recently uploaded (20)

PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
Electronic commerce courselecture one. Pdf
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PPTX
sap open course for s4hana steps from ECC to s4
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PPTX
Big Data Technologies - Introduction.pptx
PPTX
Spectroscopy.pptx food analysis technology
PDF
cuic standard and advanced reporting.pdf
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
MIND Revenue Release Quarter 2 2025 Press Release
PDF
Machine learning based COVID-19 study performance prediction
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Encapsulation_ Review paper, used for researhc scholars
Diabetes mellitus diagnosis method based random forest with bat algorithm
Understanding_Digital_Forensics_Presentation.pptx
Per capita expenditure prediction using model stacking based on satellite ima...
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Chapter 3 Spatial Domain Image Processing.pdf
Electronic commerce courselecture one. Pdf
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
“AI and Expert System Decision Support & Business Intelligence Systems”
sap open course for s4hana steps from ECC to s4
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Big Data Technologies - Introduction.pptx
Spectroscopy.pptx food analysis technology
cuic standard and advanced reporting.pdf
Mobile App Security Testing_ A Comprehensive Guide.pdf
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
MIND Revenue Release Quarter 2 2025 Press Release
Machine learning based COVID-19 study performance prediction
Profit Center Accounting in SAP S/4HANA, S4F28 Col11

Lecture25

  • 1. Design and Implementation of VLSI Systems (EN1600) Lecture 25: Datapath Subsystems 1/4 S. Reda EN1600 SP’08
  • 2. Datapath Subsystems  Adders  Multipliers  Comparators  Counters  Shifters S. Reda EN1600 SP’08
  • 3. Adders Addition is the most commonly used arithmetic operation → could be speed limiting → optimization of the adder is of the utmost importance S. Reda EN1600 SP’08
  • 4. A N-bit carry-ripple adder can be constructed by cascading 1-bit FA A0 B0 A1 B1 A2 B2 A3 B3 Ci,0 Co,0 Co,1 Co,2 FA FA FA FA (= Ci,1) S0 S1 S2 S3 Worst case delay linear with the number of bits td = O(N) tadder = (N-1)tcarry + tsum Goal: Make the fastest possible carry path circuit S. Reda EN1600 SP’08
  • 5. Full adder Boolean equations A B S = A⊕ B ⊕C Full Cin Cout Cout = MAJ ( A, B, C ) adder Sum S = A ⊕ B ⊕ Ci = ABC i + ABC i + ABCi + ABCi C o = AB + BCi + AC i S can be factored to reuse the Co term S. Reda EN1600 SP’08
  • 6. An implementation that requires 28 transistors VDD VDD Ci A B A B A B Ci B VDD A X Ci Ci A Ci A B B VDD A B Ci A Co B S. Reda EN1600 SP’08
  • 7. Problems with the design VDD VDD Ci A B A B A B Ci B VDD A X Ci Ci A Ci A B B VDD A B Ci A Co B Problems: Note • Large area • Ci is connected to the transistor • Tall transistor stacks closest to the output • Large intrinsic capacitance for Co S. Reda EN1600 SP’08
  • 8. Self-dual property of FAs A. A full adder receiving complementary inputs produce complementary outputs B. An inverting full adder receiving complementary inputs produce true outputs A B A B Self duality enables two optimizations: Ci FA Co Ci FA Co B.PGK mirror FA C.Faster ripple carry adder S S S ( A, B, C i ) = S ( A, B , C i ) C ( A, B, C ) = C ( A, B , C ) o i o i S. Reda EN1600 SP’08
  • 9. A. PGK mirror FA design • For a full adder, define what happens to carry – Generate: Cout = 1 independent of C • G=A•B – Propagate: Cout = C • P=A⊕B – Kill: Cout = 0 independent of C • K = ~A • ~B S. Reda EN1600 SP’08
  • 10. A. The mirror adder VDD VDD VDD A A B B A B Ci B Kill "0"-Propagate A Ci Co Ci S A Ci "1"-Propagate Generate A B B A B Ci A  Still need two B inverters to • Less area generate Co and • Shorter stacks S S. Reda EN1600 SP’08 • Less intrinsic capacitance
  • 11. A. Mirror adder stick diagram VDD A B Ci B A Ci Co Ci A B Co S GND S. Reda EN1600 SP’08
  • 12. B. Minimize critical path (carry) by reducing the number of inverters along the path Even cell Odd cell A0 B0 A1 B1 A2 B2 A3 B3 Ci,0 , Co,0 , Co,1 , Co,2 , Co,3 FA FA FA FA S0 S1 S2 S3 • FA’ is a FA without the inverter in the carry path S. Reda EN1600 SP’08