SlideShare a Scribd company logo
Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com
Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 2
Session 11: Focus
 Full Adder-subtractor Circuit
◦ Carry Propagation Delay
◦ Look-ahead Carry Implementation
◦ Advantages and disadvantages
Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com
Full Adder-Subtractor
Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 4
Full Adder-Subtractor
 Subtraction of two binary numbers can be accomplished by
adding 2’s complement of the subtrahend to the minuend
 And disregarding the final carry, if any.
 If the MSB bit in the result of addition is a ‘0’, then the result
of addition is the correct answer
 If the MSB bit is a ‘1’, this implies that the answer has a
negative sign.
 The true magnitude in this case is given by 2’s complement of
the result of addition
 Full adders can be used to perform subtraction provided
 Additional hardware is there to generate 2’s complement
of the subtrahend and
 Disregard the final carry or overflow
Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 5
Adder-Subtractor Circuit
Note: This parallel adder is also called Ripple Carry Adder
Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com
Carry Propagation
Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 7
Gate Delays
 Timing diagram above shows gate delay graphically
 When inputs to gate change, outputs from the gate don’t change
instantaneously (they get delayed in the range of nano seconds)
◦ This delay is known as “gate” or “propagation” delay
 The exact amount of gate delay depends on the
◦ Technology used to build the gates (TTL, CMOS, etc.)
◦ The technology node used to build the gate (22 nm, 14 nm, etc.)
7
TTL: Transistor-Transistor Logic, CMOS: Complementary Metal Oxide Semiconductor
Output signal
transition based on
the input level
changes
Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 8
Multiple Gate Delays
 What is the delay experienced by the signal G2 which
depends on the input signal A?
 The amount of delay experienced by the output signals
depend on
◦ The type of gates in the path (AND, OR, etc.)
◦ Particular combination of signal transitions, etc.
◦ More number of gates the signal needs to pass through, it
experiences more delay in general
40 ns
Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 9
n-bit Ripple Carry Adder
 By cascading full adders, carry “ripples” from least
significant bit toward most significant bit
◦ Critical path becomes input to FA0 to output of FAn
◦ Critical path is the path which experiences the maximum
delay in a circuit
Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 10
Carry Propagation Delay
 From the FA circuit, Ci+1 is delayed by two levels of gates
once Ci is available at the input
FA: Full Adder
FA: Full Adder Circuit
Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 11
Carry Propagation Delay .. Contd.
 What is the delay experienced by C5?
 From the FA circuit, C5 will experience total of 8 gate delays,
with two gate delay at every stage from C1 to C5
 This delay will have more impact when more number of bits
are getting added
 Especially when the numbers to be added (A and B) are all
already available simultaneously
Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 12
Solution: Look-ahead Carry (Fast adder)
 This Hardware solution attempts to look ahead and generate
the carry based on the input numbers (A and B) to be added
 Instead of waiting for the addition of lower order bits to be
completed
 Waiting for the carry bits to ripple through full adders from
lower order bits to higher order bits
 In order to explain the concept, let us define two new binary
variables
 Pi called CARRY PROPAGATE and
 Gi called CARRY GENERATE
 Gi generates carry whenever Ai and Bi are both 1s (AND)
 Pi is instrumental in the propagation of the Ci to Ci+1
Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 13
Solution: Look-ahead Carry
 The Boolean Expressions of the implementation are:
From the expressions for C2, C3 and C4 it is clear that C4 does not wait for C3 and C2
to propagate. Similarly, C3 does not wait for C2 to propagate
Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 14
4-bit Adder Circuit (Ripple carry)
Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 15
Implementation: Look-ahead Carry
Hardware implementation of these expressions above is the look-ahead carry generator
Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 16
Look-ahead Carry
Advantages:
 The parallel addition of multiple bits can happen with a fixed
amount gate delays
 The Look-ahead carry generator circuit has the same two gate
level delays for generating the carry for all the bits
 After the Pi and Gi are available with fixed one gate delay
 All the digits of A and B are assumed to be available at the beginning of
summation
Disadvantages:
 Its implementation takes up more gates and interconnections,
taking up more space and power
Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 17
Session 11: Summary
 Full Adder-subtractor Circuit
◦ Carry Propagation Delay
◦ Look-ahead Carry Implementation
◦ Advantages and disadvantages
Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 18
References
Ref 1 Ref 2

More Related Content

Similar to Digital Design Session 11

Digital Design Session 9
Digital Design Session 9Digital Design Session 9
Comparison and Simulation of Digital Adders
Comparison and Simulation of Digital AddersComparison and Simulation of Digital Adders
Comparison and Simulation of Digital Adders
IRJET Journal
 
DEL LAB MANUAL
DEL LAB MANUALDEL LAB MANUAL
MODIFIED CARRY SELECT ADDER WITH BKA AND MGDI TECHNIQUE
MODIFIED CARRY SELECT ADDER WITH BKA AND MGDI TECHNIQUEMODIFIED CARRY SELECT ADDER WITH BKA AND MGDI TECHNIQUE
MODIFIED CARRY SELECT ADDER WITH BKA AND MGDI TECHNIQUE
IRJET Journal
 
Embedded Recipes 2019 - From maintaining I2C to the big (embedded) picture
Embedded Recipes 2019 - From maintaining I2C to the big (embedded) pictureEmbedded Recipes 2019 - From maintaining I2C to the big (embedded) picture
Embedded Recipes 2019 - From maintaining I2C to the big (embedded) picture
Anne Nicolas
 
Digital Design Session 27
Digital Design Session 27Digital Design Session 27
Digital Design Session 22
Digital Design Session 22Digital Design Session 22
Webinar on PROFIBUS Network Maintenance
Webinar on PROFIBUS Network MaintenanceWebinar on PROFIBUS Network Maintenance
Webinar on PROFIBUS Network Maintenance
Sadatulla Zishan
 
Digital Design Course Summary
 Digital Design Course Summary Digital Design Course Summary
BCD ADDER (1).pptx
BCD ADDER (1).pptxBCD ADDER (1).pptx
BCD ADDER (1).pptx
VAISHNAVI MADHAN
 
BCD ADDER (1).pptx
BCD ADDER (1).pptxBCD ADDER (1).pptx
BCD ADDER (1).pptx
yogeshwaran k
 
POWER EFFICIENT CARRY PROPAGATE ADDER
POWER EFFICIENT CARRY PROPAGATE ADDERPOWER EFFICIENT CARRY PROPAGATE ADDER
POWER EFFICIENT CARRY PROPAGATE ADDER
VLSICS Design
 
Designing of Adders and Vedic Multiplier using Gate Diffusion Input
Designing of Adders and Vedic Multiplier using Gate Diffusion InputDesigning of Adders and Vedic Multiplier using Gate Diffusion Input
Designing of Adders and Vedic Multiplier using Gate Diffusion Input
IRJET Journal
 
31, Get more from your IPv4 resources
31, Get more from your IPv4 resources31, Get more from your IPv4 resources
31, Get more from your IPv4 resources
Bangladesh Network Operators Group
 
Arduino Based Bluetooth Operated Car Wiping Technique using Android Mobile Phone
Arduino Based Bluetooth Operated Car Wiping Technique using Android Mobile PhoneArduino Based Bluetooth Operated Car Wiping Technique using Android Mobile Phone
Arduino Based Bluetooth Operated Car Wiping Technique using Android Mobile Phone
IRJET Journal
 
9346f1488e08c541a68f7542d4649dee4f4e37b5.pdf
9346f1488e08c541a68f7542d4649dee4f4e37b5.pdf9346f1488e08c541a68f7542d4649dee4f4e37b5.pdf
9346f1488e08c541a68f7542d4649dee4f4e37b5.pdf
Marcellino Mandala
 
Tocci ch 6 digital arithmetic operations and circuits
Tocci ch 6 digital arithmetic operations and circuitsTocci ch 6 digital arithmetic operations and circuits
Tocci ch 6 digital arithmetic operations and circuits
cairo university
 
Design and emulation tools for serverless edge computing
Design and emulation tools for serverless edge computingDesign and emulation tools for serverless edge computing
Design and emulation tools for serverless edge computing
IIT CNR
 
Digital Electronics viva and interview questions-min.pdf
Digital Electronics viva and interview questions-min.pdfDigital Electronics viva and interview questions-min.pdf
Digital Electronics viva and interview questions-min.pdf
Engineering Funda
 

Similar to Digital Design Session 11 (20)

Digital Design Session 9
Digital Design Session 9Digital Design Session 9
Digital Design Session 9
 
Comparison and Simulation of Digital Adders
Comparison and Simulation of Digital AddersComparison and Simulation of Digital Adders
Comparison and Simulation of Digital Adders
 
DEL LAB MANUAL
DEL LAB MANUALDEL LAB MANUAL
DEL LAB MANUAL
 
MODIFIED CARRY SELECT ADDER WITH BKA AND MGDI TECHNIQUE
MODIFIED CARRY SELECT ADDER WITH BKA AND MGDI TECHNIQUEMODIFIED CARRY SELECT ADDER WITH BKA AND MGDI TECHNIQUE
MODIFIED CARRY SELECT ADDER WITH BKA AND MGDI TECHNIQUE
 
Embedded Recipes 2019 - From maintaining I2C to the big (embedded) picture
Embedded Recipes 2019 - From maintaining I2C to the big (embedded) pictureEmbedded Recipes 2019 - From maintaining I2C to the big (embedded) picture
Embedded Recipes 2019 - From maintaining I2C to the big (embedded) picture
 
Digital Design Session 27
Digital Design Session 27Digital Design Session 27
Digital Design Session 27
 
Digital Design Session 22
Digital Design Session 22Digital Design Session 22
Digital Design Session 22
 
Webinar on PROFIBUS Network Maintenance
Webinar on PROFIBUS Network MaintenanceWebinar on PROFIBUS Network Maintenance
Webinar on PROFIBUS Network Maintenance
 
Digital Design Course Summary
 Digital Design Course Summary Digital Design Course Summary
Digital Design Course Summary
 
BCD ADDER (1).pptx
BCD ADDER (1).pptxBCD ADDER (1).pptx
BCD ADDER (1).pptx
 
BCD ADDER (1).pptx
BCD ADDER (1).pptxBCD ADDER (1).pptx
BCD ADDER (1).pptx
 
POWER EFFICIENT CARRY PROPAGATE ADDER
POWER EFFICIENT CARRY PROPAGATE ADDERPOWER EFFICIENT CARRY PROPAGATE ADDER
POWER EFFICIENT CARRY PROPAGATE ADDER
 
Designing of Adders and Vedic Multiplier using Gate Diffusion Input
Designing of Adders and Vedic Multiplier using Gate Diffusion InputDesigning of Adders and Vedic Multiplier using Gate Diffusion Input
Designing of Adders and Vedic Multiplier using Gate Diffusion Input
 
31, Get more from your IPv4 resources
31, Get more from your IPv4 resources31, Get more from your IPv4 resources
31, Get more from your IPv4 resources
 
Arduino Based Bluetooth Operated Car Wiping Technique using Android Mobile Phone
Arduino Based Bluetooth Operated Car Wiping Technique using Android Mobile PhoneArduino Based Bluetooth Operated Car Wiping Technique using Android Mobile Phone
Arduino Based Bluetooth Operated Car Wiping Technique using Android Mobile Phone
 
Absolute
AbsoluteAbsolute
Absolute
 
9346f1488e08c541a68f7542d4649dee4f4e37b5.pdf
9346f1488e08c541a68f7542d4649dee4f4e37b5.pdf9346f1488e08c541a68f7542d4649dee4f4e37b5.pdf
9346f1488e08c541a68f7542d4649dee4f4e37b5.pdf
 
Tocci ch 6 digital arithmetic operations and circuits
Tocci ch 6 digital arithmetic operations and circuitsTocci ch 6 digital arithmetic operations and circuits
Tocci ch 6 digital arithmetic operations and circuits
 
Design and emulation tools for serverless edge computing
Design and emulation tools for serverless edge computingDesign and emulation tools for serverless edge computing
Design and emulation tools for serverless edge computing
 
Digital Electronics viva and interview questions-min.pdf
Digital Electronics viva and interview questions-min.pdfDigital Electronics viva and interview questions-min.pdf
Digital Electronics viva and interview questions-min.pdf
 

More from International Institute of Information Technology - Bangalore

Digital Design Session 29
Digital Design Session 29Digital Design Session 29
Digital Design Session 28
Digital Design Session 28Digital Design Session 28
Digital Design Session 26
Digital Design Session 26Digital Design Session 26
Digital Design Session 25
Digital Design Session 25Digital Design Session 25
Digital Design Session 24
Digital Design Session 24Digital Design Session 24
Digital Design Session 21
Digital Design Session 21Digital Design Session 21
Digital Design Session 20
Digital Design Session 20Digital Design Session 20
Digital Design Session 19
Digital Design Session 19Digital Design Session 19
Digital Design Session 18
Digital Design Session 18Digital Design Session 18
Digital Design Session 17
Digital Design Session 17Digital Design Session 17
Digital Design Session 16
Digital Design Session 16Digital Design Session 16
Digital Design Session 15
Digital Design Session 15Digital Design Session 15
Digital Design Session 13
Digital Design Session 13Digital Design Session 13
Digital Design Session 10
Digital Design Session 10Digital Design Session 10
Digital Design Session 8
Digital Design Session 8Digital Design Session 8
Digital Design Session 7
Digital Design  Session 7Digital Design  Session 7
Digital Design Session 6
Digital Design Session 6Digital Design Session 6
Digital Design Session 5
Digital Design  Session 5Digital Design  Session 5
Digital Design Session 2
Digital Design Session 2Digital Design Session 2
Basic Electric Circuits Tutorial 7
Basic Electric Circuits Tutorial 7Basic Electric Circuits Tutorial 7

More from International Institute of Information Technology - Bangalore (20)

Digital Design Session 29
Digital Design Session 29Digital Design Session 29
Digital Design Session 29
 
Digital Design Session 28
Digital Design Session 28Digital Design Session 28
Digital Design Session 28
 
Digital Design Session 26
Digital Design Session 26Digital Design Session 26
Digital Design Session 26
 
Digital Design Session 25
Digital Design Session 25Digital Design Session 25
Digital Design Session 25
 
Digital Design Session 24
Digital Design Session 24Digital Design Session 24
Digital Design Session 24
 
Digital Design Session 21
Digital Design Session 21Digital Design Session 21
Digital Design Session 21
 
Digital Design Session 20
Digital Design Session 20Digital Design Session 20
Digital Design Session 20
 
Digital Design Session 19
Digital Design Session 19Digital Design Session 19
Digital Design Session 19
 
Digital Design Session 18
Digital Design Session 18Digital Design Session 18
Digital Design Session 18
 
Digital Design Session 17
Digital Design Session 17Digital Design Session 17
Digital Design Session 17
 
Digital Design Session 16
Digital Design Session 16Digital Design Session 16
Digital Design Session 16
 
Digital Design Session 15
Digital Design Session 15Digital Design Session 15
Digital Design Session 15
 
Digital Design Session 13
Digital Design Session 13Digital Design Session 13
Digital Design Session 13
 
Digital Design Session 10
Digital Design Session 10Digital Design Session 10
Digital Design Session 10
 
Digital Design Session 8
Digital Design Session 8Digital Design Session 8
Digital Design Session 8
 
Digital Design Session 7
Digital Design  Session 7Digital Design  Session 7
Digital Design Session 7
 
Digital Design Session 6
Digital Design Session 6Digital Design Session 6
Digital Design Session 6
 
Digital Design Session 5
Digital Design  Session 5Digital Design  Session 5
Digital Design Session 5
 
Digital Design Session 2
Digital Design Session 2Digital Design Session 2
Digital Design Session 2
 
Basic Electric Circuits Tutorial 7
Basic Electric Circuits Tutorial 7Basic Electric Circuits Tutorial 7
Basic Electric Circuits Tutorial 7
 

Recently uploaded

一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单专业办理
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单专业办理一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单专业办理
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单专业办理
zwunae
 
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdfGoverning Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
WENKENLI1
 
Literature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptxLiterature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptx
Dr Ramhari Poudyal
 
Recycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part IIIRecycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part III
Aditya Rajan Patra
 
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdfHybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
fxintegritypublishin
 
Hierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power SystemHierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power System
Kerry Sado
 
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
zwunae
 
NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...
NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...
NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...
ssuser7dcef0
 
Planning Of Procurement o different goods and services
Planning Of Procurement o different goods and servicesPlanning Of Procurement o different goods and services
Planning Of Procurement o different goods and services
JoytuBarua2
 
MCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdfMCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdf
Osamah Alsalih
 
Building Electrical System Design & Installation
Building Electrical System Design & InstallationBuilding Electrical System Design & Installation
Building Electrical System Design & Installation
symbo111
 
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Dr.Costas Sachpazis
 
Cosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdfCosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdf
Kamal Acharya
 
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTSHeap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
Soumen Santra
 
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&BDesign and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Sreedhar Chowdam
 
PPT on GRP pipes manufacturing and testing
PPT on GRP pipes manufacturing and testingPPT on GRP pipes manufacturing and testing
PPT on GRP pipes manufacturing and testing
anoopmanoharan2
 
Final project report on grocery store management system..pdf
Final project report on grocery store management system..pdfFinal project report on grocery store management system..pdf
Final project report on grocery store management system..pdf
Kamal Acharya
 
Forklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella PartsForklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella Parts
Intella Parts
 
digital fundamental by Thomas L.floydl.pdf
digital fundamental by Thomas L.floydl.pdfdigital fundamental by Thomas L.floydl.pdf
digital fundamental by Thomas L.floydl.pdf
drwaing
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
SamSarthak3
 

Recently uploaded (20)

一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单专业办理
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单专业办理一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单专业办理
一比一原版(UMich毕业证)密歇根大学|安娜堡分校毕业证成绩单专业办理
 
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdfGoverning Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
 
Literature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptxLiterature Review Basics and Understanding Reference Management.pptx
Literature Review Basics and Understanding Reference Management.pptx
 
Recycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part IIIRecycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part III
 
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdfHybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdf
 
Hierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power SystemHierarchical Digital Twin of a Naval Power System
Hierarchical Digital Twin of a Naval Power System
 
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单专业办理
 
NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...
NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...
NUMERICAL SIMULATIONS OF HEAT AND MASS TRANSFER IN CONDENSING HEAT EXCHANGERS...
 
Planning Of Procurement o different goods and services
Planning Of Procurement o different goods and servicesPlanning Of Procurement o different goods and services
Planning Of Procurement o different goods and services
 
MCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdfMCQ Soil mechanics questions (Soil shear strength).pdf
MCQ Soil mechanics questions (Soil shear strength).pdf
 
Building Electrical System Design & Installation
Building Electrical System Design & InstallationBuilding Electrical System Design & Installation
Building Electrical System Design & Installation
 
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
 
Cosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdfCosmetic shop management system project report.pdf
Cosmetic shop management system project report.pdf
 
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTSHeap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
Heap Sort (SS).ppt FOR ENGINEERING GRADUATES, BCA, MCA, MTECH, BSC STUDENTS
 
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&BDesign and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
Design and Analysis of Algorithms-DP,Backtracking,Graphs,B&B
 
PPT on GRP pipes manufacturing and testing
PPT on GRP pipes manufacturing and testingPPT on GRP pipes manufacturing and testing
PPT on GRP pipes manufacturing and testing
 
Final project report on grocery store management system..pdf
Final project report on grocery store management system..pdfFinal project report on grocery store management system..pdf
Final project report on grocery store management system..pdf
 
Forklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella PartsForklift Classes Overview by Intella Parts
Forklift Classes Overview by Intella Parts
 
digital fundamental by Thomas L.floydl.pdf
digital fundamental by Thomas L.floydl.pdfdigital fundamental by Thomas L.floydl.pdf
digital fundamental by Thomas L.floydl.pdf
 
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdfAKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
AKS UNIVERSITY Satna Final Year Project By OM Hardaha.pdf
 

Digital Design Session 11

  • 1. Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com
  • 2. Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 2 Session 11: Focus  Full Adder-subtractor Circuit ◦ Carry Propagation Delay ◦ Look-ahead Carry Implementation ◦ Advantages and disadvantages
  • 3. Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com Full Adder-Subtractor
  • 4. Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 4 Full Adder-Subtractor  Subtraction of two binary numbers can be accomplished by adding 2’s complement of the subtrahend to the minuend  And disregarding the final carry, if any.  If the MSB bit in the result of addition is a ‘0’, then the result of addition is the correct answer  If the MSB bit is a ‘1’, this implies that the answer has a negative sign.  The true magnitude in this case is given by 2’s complement of the result of addition  Full adders can be used to perform subtraction provided  Additional hardware is there to generate 2’s complement of the subtrahend and  Disregard the final carry or overflow
  • 5. Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 5 Adder-Subtractor Circuit Note: This parallel adder is also called Ripple Carry Adder
  • 6. Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com Carry Propagation
  • 7. Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 7 Gate Delays  Timing diagram above shows gate delay graphically  When inputs to gate change, outputs from the gate don’t change instantaneously (they get delayed in the range of nano seconds) ◦ This delay is known as “gate” or “propagation” delay  The exact amount of gate delay depends on the ◦ Technology used to build the gates (TTL, CMOS, etc.) ◦ The technology node used to build the gate (22 nm, 14 nm, etc.) 7 TTL: Transistor-Transistor Logic, CMOS: Complementary Metal Oxide Semiconductor Output signal transition based on the input level changes
  • 8. Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 8 Multiple Gate Delays  What is the delay experienced by the signal G2 which depends on the input signal A?  The amount of delay experienced by the output signals depend on ◦ The type of gates in the path (AND, OR, etc.) ◦ Particular combination of signal transitions, etc. ◦ More number of gates the signal needs to pass through, it experiences more delay in general 40 ns
  • 9. Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 9 n-bit Ripple Carry Adder  By cascading full adders, carry “ripples” from least significant bit toward most significant bit ◦ Critical path becomes input to FA0 to output of FAn ◦ Critical path is the path which experiences the maximum delay in a circuit
  • 10. Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 10 Carry Propagation Delay  From the FA circuit, Ci+1 is delayed by two levels of gates once Ci is available at the input FA: Full Adder FA: Full Adder Circuit
  • 11. Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 11 Carry Propagation Delay .. Contd.  What is the delay experienced by C5?  From the FA circuit, C5 will experience total of 8 gate delays, with two gate delay at every stage from C1 to C5  This delay will have more impact when more number of bits are getting added  Especially when the numbers to be added (A and B) are all already available simultaneously
  • 12. Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 12 Solution: Look-ahead Carry (Fast adder)  This Hardware solution attempts to look ahead and generate the carry based on the input numbers (A and B) to be added  Instead of waiting for the addition of lower order bits to be completed  Waiting for the carry bits to ripple through full adders from lower order bits to higher order bits  In order to explain the concept, let us define two new binary variables  Pi called CARRY PROPAGATE and  Gi called CARRY GENERATE  Gi generates carry whenever Ai and Bi are both 1s (AND)  Pi is instrumental in the propagation of the Ci to Ci+1
  • 13. Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 13 Solution: Look-ahead Carry  The Boolean Expressions of the implementation are: From the expressions for C2, C3 and C4 it is clear that C4 does not wait for C3 and C2 to propagate. Similarly, C3 does not wait for C2 to propagate
  • 14. Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 14 4-bit Adder Circuit (Ripple carry)
  • 15. Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 15 Implementation: Look-ahead Carry Hardware implementation of these expressions above is the look-ahead carry generator
  • 16. Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 16 Look-ahead Carry Advantages:  The parallel addition of multiple bits can happen with a fixed amount gate delays  The Look-ahead carry generator circuit has the same two gate level delays for generating the carry for all the bits  After the Pi and Gi are available with fixed one gate delay  All the digits of A and B are assumed to be available at the beginning of summation Disadvantages:  Its implementation takes up more gates and interconnections, taking up more space and power
  • 17. Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 17 Session 11: Summary  Full Adder-subtractor Circuit ◦ Carry Propagation Delay ◦ Look-ahead Carry Implementation ◦ Advantages and disadvantages
  • 18. Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 18 References Ref 1 Ref 2