SlideShare a Scribd company logo
1 of 18
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

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 TECHNIQUEIRJET 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) pictureAnne Nicolas
 
Webinar on PROFIBUS Network Maintenance
Webinar on PROFIBUS Network MaintenanceWebinar on PROFIBUS Network Maintenance
Webinar on PROFIBUS Network MaintenanceSadatulla Zishan
 
POWER EFFICIENT CARRY PROPAGATE ADDER
POWER EFFICIENT CARRY PROPAGATE ADDERPOWER EFFICIENT CARRY PROPAGATE ADDER
POWER EFFICIENT CARRY PROPAGATE ADDERVLSICS 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 InputIRJET Journal
 
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 PhoneIRJET Journal
 
9346f1488e08c541a68f7542d4649dee4f4e37b5.pdf
9346f1488e08c541a68f7542d4649dee4f4e37b5.pdf9346f1488e08c541a68f7542d4649dee4f4e37b5.pdf
9346f1488e08c541a68f7542d4649dee4f4e37b5.pdfMarcellino 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 circuitscairo 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 computingIIT 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.pdfEngineering Funda
 
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.pdfEngineering Funda
 

Similar to Digital Design Session 11 (20)

Digital Design Session 9
Digital Design Session 9Digital Design Session 9
Digital Design Session 9
 
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
 
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

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

Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptxthe ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptxhumanexperienceaaa
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130Suhani Kapoor
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations120cr0395
 
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...RajaP95
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxJoão Esperancinha
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Call Girls in Nagpur High Profile
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )Tsuyoshi Horigome
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingrakeshbaidya232001
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVRajaP95
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escortsranjana rawat
 
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝soniya singh
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...Soham Mondal
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxAsutosh Ranjan
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...ranjana rawat
 

Recently uploaded (20)

Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
 
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptxthe ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
 
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations
 
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
IMPLICATIONS OF THE ABOVE HOLISTIC UNDERSTANDING OF HARMONY ON PROFESSIONAL E...
 
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptxDecoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
Decoding Kotlin - Your guide to solving the mysterious in Kotlin.pptx
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
 
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
★ CALL US 9953330565 ( HOT Young Call Girls In Badarpur delhi NCR
 
SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )SPICE PARK APR2024 ( 6,793 SPICE Models )
SPICE PARK APR2024 ( 6,793 SPICE Models )
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writing
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
 
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCRCall Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
 
Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and RoutesRoadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
 
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
(MEERA) Dapodi Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Escorts
 
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
 
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
OSVC_Meta-Data based Simulation Automation to overcome Verification Challenge...
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptx
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
 

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