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

Viewers also liked

L5 Adders
L5 AddersL5 Adders
L5 Adders
ankitgoel
 
Lecture28
Lecture28Lecture28
Lecture28
Dharmesh Goyal
 
Good report on Adders/Prefix adders
Good report on Adders/Prefix addersGood report on Adders/Prefix adders
Good report on Adders/Prefix adders
Peeyush Pashine
 
Cmos Arithmetic Circuits
Cmos Arithmetic CircuitsCmos Arithmetic Circuits
Cmos Arithmetic Circuits
ankitgoel
 
Half adder layout design
Half adder layout designHalf adder layout design
Half adder layout design
Thevenin Norton TOng
 
design of high speed performance 64bit mac unit
design of high speed performance 64bit mac unitdesign of high speed performance 64bit mac unit
design of high speed performance 64bit mac unit
Shiva Narayan Reddy
 
Wallace tree multiplier.pptx1
Wallace tree multiplier.pptx1Wallace tree multiplier.pptx1
Wallace tree multiplier.pptx1
vamshi krishna
 
Wallace tree multiplier
Wallace tree multiplierWallace tree multiplier
Wallace tree multiplier
Sudhir Kumar
 
Booth Multiplier
Booth MultiplierBooth Multiplier
Booth Multiplier
Sudhir Kumar
 
Bit Serial multiplier using Verilog
Bit Serial multiplier using VerilogBit Serial multiplier using Verilog
Bit Serial multiplier using Verilog
BhargavKatkam
 
All VLSI programs
All VLSI programsAll VLSI programs
All VLSI programs
Gouthaman V
 
Array multiplier
Array multiplierArray multiplier
Array multiplier
Mathew George
 
Booths Multiplication Algorithm
Booths Multiplication AlgorithmBooths Multiplication Algorithm
Booths Multiplication Algorithm
knightnick
 

Viewers also liked (14)

L5 Adders
L5 AddersL5 Adders
L5 Adders
 
111adder
111adder111adder
111adder
 
Lecture28
Lecture28Lecture28
Lecture28
 
Good report on Adders/Prefix adders
Good report on Adders/Prefix addersGood report on Adders/Prefix adders
Good report on Adders/Prefix adders
 
Cmos Arithmetic Circuits
Cmos Arithmetic CircuitsCmos Arithmetic Circuits
Cmos Arithmetic Circuits
 
Half adder layout design
Half adder layout designHalf adder layout design
Half adder layout design
 
design of high speed performance 64bit mac unit
design of high speed performance 64bit mac unitdesign of high speed performance 64bit mac unit
design of high speed performance 64bit mac unit
 
Wallace tree multiplier.pptx1
Wallace tree multiplier.pptx1Wallace tree multiplier.pptx1
Wallace tree multiplier.pptx1
 
Wallace tree multiplier
Wallace tree multiplierWallace tree multiplier
Wallace tree multiplier
 
Booth Multiplier
Booth MultiplierBooth Multiplier
Booth Multiplier
 
Bit Serial multiplier using Verilog
Bit Serial multiplier using VerilogBit Serial multiplier using Verilog
Bit Serial multiplier using Verilog
 
All VLSI programs
All VLSI programsAll VLSI programs
All VLSI programs
 
Array multiplier
Array multiplierArray multiplier
Array multiplier
 
Booths Multiplication Algorithm
Booths Multiplication AlgorithmBooths Multiplication Algorithm
Booths Multiplication Algorithm
 

Similar to Lecture25

Nucleic Acid Engineering Math
Nucleic Acid Engineering MathNucleic Acid Engineering Math
Nucleic Acid Engineering Math
Brian Frezza
 
11X1 T07 02 triangle theorems (2010)
11X1 T07 02 triangle theorems (2010)11X1 T07 02 triangle theorems (2010)
11X1 T07 02 triangle theorems (2010)
Nigel Simmons
 
11 x1 t07 02 triangle theorems (2012)
11 x1 t07 02 triangle theorems (2012)11 x1 t07 02 triangle theorems (2012)
11 x1 t07 02 triangle theorems (2012)
Nigel Simmons
 
11X1 T08 02 triangle theorems (2011)
11X1 T08 02 triangle theorems (2011)11X1 T08 02 triangle theorems (2011)
11X1 T08 02 triangle theorems (2011)
Nigel Simmons
 
Velocity of mechasnism_by_graphical
Velocity of mechasnism_by_graphicalVelocity of mechasnism_by_graphical
Velocity of mechasnism_by_graphical
aditaya goel
 
ตรีโกณมิตินำเสนอOn demand
ตรีโกณมิตินำเสนอOn demandตรีโกณมิตินำเสนอOn demand
ตรีโกณมิตินำเสนอOn demand
Nittaya Noinan
 
ตรีโกณมิตินำเสนอOn demand
ตรีโกณมิตินำเสนอOn demandตรีโกณมิตินำเสนอOn demand
ตรีโกณมิตินำเสนอOn demand
Nittaya Noinan
 
Mathematics Project
Mathematics ProjectMathematics Project
Mathematics Project
Siva Suriya
 

Similar to Lecture25 (8)

Nucleic Acid Engineering Math
Nucleic Acid Engineering MathNucleic Acid Engineering Math
Nucleic Acid Engineering Math
 
11X1 T07 02 triangle theorems (2010)
11X1 T07 02 triangle theorems (2010)11X1 T07 02 triangle theorems (2010)
11X1 T07 02 triangle theorems (2010)
 
11 x1 t07 02 triangle theorems (2012)
11 x1 t07 02 triangle theorems (2012)11 x1 t07 02 triangle theorems (2012)
11 x1 t07 02 triangle theorems (2012)
 
11X1 T08 02 triangle theorems (2011)
11X1 T08 02 triangle theorems (2011)11X1 T08 02 triangle theorems (2011)
11X1 T08 02 triangle theorems (2011)
 
Velocity of mechasnism_by_graphical
Velocity of mechasnism_by_graphicalVelocity of mechasnism_by_graphical
Velocity of mechasnism_by_graphical
 
ตรีโกณมิตินำเสนอOn demand
ตรีโกณมิตินำเสนอOn demandตรีโกณมิตินำเสนอOn demand
ตรีโกณมิตินำเสนอOn demand
 
ตรีโกณมิตินำเสนอOn demand
ตรีโกณมิตินำเสนอOn demandตรีโกณมิตินำเสนอOn demand
ตรีโกณมิตินำเสนอOn demand
 
Mathematics Project
Mathematics ProjectMathematics Project
Mathematics Project
 

More from Dharmesh Goyal

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
Dharmesh Goyal
 
Lecture19
Lecture19Lecture19
Lecture19
Dharmesh Goyal
 
Lecture20
Lecture20Lecture20
Lecture20
Dharmesh Goyal
 
Lecture32
Lecture32Lecture32
Lecture32
Dharmesh Goyal
 
Lecture31
Lecture31Lecture31
Lecture31
Dharmesh Goyal
 
Lecture30
Lecture30Lecture30
Lecture30
Dharmesh Goyal
 
Lecture29
Lecture29Lecture29
Lecture29
Dharmesh Goyal
 
Lecture27
Lecture27Lecture27
Lecture27
Dharmesh Goyal
 
Lecture26
Lecture26Lecture26
Lecture26
Dharmesh Goyal
 
Lecture24
Lecture24Lecture24
Lecture24
Dharmesh Goyal
 
Lecture23
Lecture23Lecture23
Lecture23
Dharmesh Goyal
 
Lecture22
Lecture22Lecture22
Lecture22
Dharmesh Goyal
 
Lecture21
Lecture21Lecture21
Lecture21
Dharmesh Goyal
 
Lecture32
Lecture32Lecture32
Lecture32
Dharmesh Goyal
 
Lecture18
Lecture18Lecture18
Lecture18
Dharmesh Goyal
 
Lecture17
Lecture17Lecture17
Lecture17
Dharmesh Goyal
 
Lecture16
Lecture16Lecture16
Lecture16
Dharmesh Goyal
 
Lecture15
Lecture15Lecture15
Lecture15
Dharmesh Goyal
 
Lecture14
Lecture14Lecture14
Lecture14
Dharmesh Goyal
 
Lecture13
Lecture13Lecture13
Lecture13
Dharmesh Goyal
 

More from Dharmesh Goyal (20)

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
 
Lecture19
Lecture19Lecture19
Lecture19
 
Lecture20
Lecture20Lecture20
Lecture20
 
Lecture32
Lecture32Lecture32
Lecture32
 
Lecture31
Lecture31Lecture31
Lecture31
 
Lecture30
Lecture30Lecture30
Lecture30
 
Lecture29
Lecture29Lecture29
Lecture29
 
Lecture27
Lecture27Lecture27
Lecture27
 
Lecture26
Lecture26Lecture26
Lecture26
 
Lecture24
Lecture24Lecture24
Lecture24
 
Lecture23
Lecture23Lecture23
Lecture23
 
Lecture22
Lecture22Lecture22
Lecture22
 
Lecture21
Lecture21Lecture21
Lecture21
 
Lecture32
Lecture32Lecture32
Lecture32
 
Lecture18
Lecture18Lecture18
Lecture18
 
Lecture17
Lecture17Lecture17
Lecture17
 
Lecture16
Lecture16Lecture16
Lecture16
 
Lecture15
Lecture15Lecture15
Lecture15
 
Lecture14
Lecture14Lecture14
Lecture14
 
Lecture13
Lecture13Lecture13
Lecture13
 

Recently uploaded

5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides
DanBrown980551
 
Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...
Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...
Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...
saastr
 
Programming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup SlidesProgramming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup Slides
Zilliz
 
Astute Business Solutions | Oracle Cloud Partner |
Astute Business Solutions | Oracle Cloud Partner |Astute Business Solutions | Oracle Cloud Partner |
Astute Business Solutions | Oracle Cloud Partner |
AstuteBusiness
 
Trusted Execution Environment for Decentralized Process Mining
Trusted Execution Environment for Decentralized Process MiningTrusted Execution Environment for Decentralized Process Mining
Trusted Execution Environment for Decentralized Process Mining
LucaBarbaro3
 
Energy Efficient Video Encoding for Cloud and Edge Computing Instances
Energy Efficient Video Encoding for Cloud and Edge Computing InstancesEnergy Efficient Video Encoding for Cloud and Edge Computing Instances
Energy Efficient Video Encoding for Cloud and Edge Computing Instances
Alpen-Adria-Universität
 
SAP S/4 HANA sourcing and procurement to Public cloud
SAP S/4 HANA sourcing and procurement to Public cloudSAP S/4 HANA sourcing and procurement to Public cloud
SAP S/4 HANA sourcing and procurement to Public cloud
maazsz111
 
Main news related to the CCS TSI 2023 (2023/1695)
Main news related to the CCS TSI 2023 (2023/1695)Main news related to the CCS TSI 2023 (2023/1695)
Main news related to the CCS TSI 2023 (2023/1695)
Jakub Marek
 
Taking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdfTaking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdf
ssuserfac0301
 
“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...
“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...
“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...
Edge AI and Vision Alliance
 
FREE A4 Cyber Security Awareness Posters-Social Engineering part 3
FREE A4 Cyber Security Awareness  Posters-Social Engineering part 3FREE A4 Cyber Security Awareness  Posters-Social Engineering part 3
FREE A4 Cyber Security Awareness Posters-Social Engineering part 3
Data Hops
 
Dandelion Hashtable: beyond billion requests per second on a commodity server
Dandelion Hashtable: beyond billion requests per second on a commodity serverDandelion Hashtable: beyond billion requests per second on a commodity server
Dandelion Hashtable: beyond billion requests per second on a commodity server
Antonios Katsarakis
 
Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...
Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...
Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...
saastr
 
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAUHCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
panagenda
 
Public CyberSecurity Awareness Presentation 2024.pptx
Public CyberSecurity Awareness Presentation 2024.pptxPublic CyberSecurity Awareness Presentation 2024.pptx
Public CyberSecurity Awareness Presentation 2024.pptx
marufrahmanstratejm
 
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdfHow to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
Chart Kalyan
 
Building Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and MilvusBuilding Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and Milvus
Zilliz
 
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
Jeffrey Haguewood
 
zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...
zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...
zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...
Alex Pruden
 
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy SurveyTrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc
 

Recently uploaded (20)

5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides
 
Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...
Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...
Deep Dive: AI-Powered Marketing to Get More Leads and Customers with HyperGro...
 
Programming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup SlidesProgramming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup Slides
 
Astute Business Solutions | Oracle Cloud Partner |
Astute Business Solutions | Oracle Cloud Partner |Astute Business Solutions | Oracle Cloud Partner |
Astute Business Solutions | Oracle Cloud Partner |
 
Trusted Execution Environment for Decentralized Process Mining
Trusted Execution Environment for Decentralized Process MiningTrusted Execution Environment for Decentralized Process Mining
Trusted Execution Environment for Decentralized Process Mining
 
Energy Efficient Video Encoding for Cloud and Edge Computing Instances
Energy Efficient Video Encoding for Cloud and Edge Computing InstancesEnergy Efficient Video Encoding for Cloud and Edge Computing Instances
Energy Efficient Video Encoding for Cloud and Edge Computing Instances
 
SAP S/4 HANA sourcing and procurement to Public cloud
SAP S/4 HANA sourcing and procurement to Public cloudSAP S/4 HANA sourcing and procurement to Public cloud
SAP S/4 HANA sourcing and procurement to Public cloud
 
Main news related to the CCS TSI 2023 (2023/1695)
Main news related to the CCS TSI 2023 (2023/1695)Main news related to the CCS TSI 2023 (2023/1695)
Main news related to the CCS TSI 2023 (2023/1695)
 
Taking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdfTaking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdf
 
“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...
“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...
“Temporal Event Neural Networks: A More Efficient Alternative to the Transfor...
 
FREE A4 Cyber Security Awareness Posters-Social Engineering part 3
FREE A4 Cyber Security Awareness  Posters-Social Engineering part 3FREE A4 Cyber Security Awareness  Posters-Social Engineering part 3
FREE A4 Cyber Security Awareness Posters-Social Engineering part 3
 
Dandelion Hashtable: beyond billion requests per second on a commodity server
Dandelion Hashtable: beyond billion requests per second on a commodity serverDandelion Hashtable: beyond billion requests per second on a commodity server
Dandelion Hashtable: beyond billion requests per second on a commodity server
 
Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...
Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...
Overcoming the PLG Trap: Lessons from Canva's Head of Sales & Head of EMEA Da...
 
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAUHCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
 
Public CyberSecurity Awareness Presentation 2024.pptx
Public CyberSecurity Awareness Presentation 2024.pptxPublic CyberSecurity Awareness Presentation 2024.pptx
Public CyberSecurity Awareness Presentation 2024.pptx
 
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdfHow to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
 
Building Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and MilvusBuilding Production Ready Search Pipelines with Spark and Milvus
Building Production Ready Search Pipelines with Spark and Milvus
 
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
 
zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...
zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...
zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...
 
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy SurveyTrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy Survey
 

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