SlideShare a Scribd company logo
1 of 21
Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com
Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 2
Session 12: Focus
 Binary Multiplier
◦ 2-bit multiplier Implementation
◦ 4-bit by 3-bit multiplier Implementation
 Decoder
◦ Basic Binary Decoding logic
◦ 3-to-8 line Decoder Implementation
◦ 4-bit Decoder
◦ Decoder in Use
 Encoder
◦ Decimal-to-BCD Encoder
Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com
Binary Multiplier
Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 4
Binary Multiplier
 Multiplication of binary numbers is performed in the
same way as multiplication of decimal numbers.
 The multiplicand is multiplied by each bit of the
multiplier, starting from the least significant bit.
 Each such multiplication forms a partial product.
 Successive partial products are shifted one position to
the left.
 The final product is obtained from the sum of the
partial products
Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 5
2-bit by 2-bit Multiplier
The multiplicand bits are B1 and B0,
the multiplier bits are A1 and A0,
and the product is C3C2C1C0
Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 6
Multiplier Circuit: 4-bit by 3-bit
The multiplicand has 4 bits
B3B2B1B0
and the multiplier has 3 bits
A2A1A0 and
the product is 7 bits
C6C5C4C3C2C1C0
B3B2B1B0
* A2A1A0
C6C5C4C3C2C1C0
Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com
Decoder
Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 8
Decoder
 A decoder is a digital circuit that detects the presence of a
specified combinations of bits (code) on its inputs and
 Indicates the presence of that code by a specified output
level
 In its general form, a decoder has n input lines to handle n bits
 It has from one to 2n output lines to indicate the presence
of one or more n-bit combinations
Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 9
Quiz 1: Basic Binary Decoding Logic
 Design a decoding logic which gives an output one when the
input is 1001
 For all other inputs it gives an output of zero
Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 10
Quiz 2: Design a Decoding Logic
 Design a decoding logic which gives an output one when the
input is 1011 (A3A2A1A0)
 For all other inputs it gives an output of zero
Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 11
Quiz 3: Design a Decoding Logic
 Design a decoding logic which produces an active low output
when the input is 11001 (A4A3A2A1A0)
 For all other inputs it gives an output of one
A4
A3
X = A4A3 A01A2A
o
Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 12
3-line-to-8-line Decoder
 It has 3 inputs and 8 outputs
 Truth Table is given below:
Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 13
3-line-to-8-line Decoder Implementation
Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 14
Active Low 4-bit Decoder Truth Table
 A 4-bit decoder will have 24 outputs, which are shown below
 Commonly called as 4-line-to-16-line or 1-of-16 decoder
Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 15
Logic Symbol of Decoder
 Logic Symbol of 1-of-16 decoder with active-LOW outputs
4-bit Inputs 16-bit Outputs
Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 16
Application of Decoder
 A I/O Port address decoder
Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com
Encoder
Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 18
Encoder
 An encoder is a combinational circuit that essentially performs
a reverse decoder function
 An encoder accepts an active level on one of its inputs
representing a digit, such as a decimal, or octal digit, and
converts it to a coded output, such as BCD or binary
Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 19
Decimal-to-BCD Encoder
Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 20
Session 10B: Summary
 Binary Multiplier
◦ 2-bit multiplier Implementation
◦ 4-bit by 3-bit multiplier Implementation
 Decoder
◦ Basic Binary Decoding logic
◦ 3-to-8 line Decoder Implementation
◦ 4-bit Decoder
◦ Decoder in Use
 Encoder
◦ Decimal-to-BCD Encoder
Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 21
References
Ref 1 Ref 2

More Related Content

What's hot (13)

Digital Design Session 28
Digital Design Session 28Digital Design Session 28
Digital Design Session 28
 
Digital Design Session 14
Digital Design Session 14Digital Design Session 14
Digital Design Session 14
 
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 Course Summary
 Digital Design Course Summary Digital Design Course Summary
Digital Design Course Summary
 
Digital Design Session 25
Digital Design Session 25Digital Design Session 25
Digital Design Session 25
 
Digital Design Session 27
Digital Design Session 27Digital Design Session 27
Digital Design Session 27
 
Digital Design Session 21
Digital Design Session 21Digital Design Session 21
Digital Design Session 21
 
Digital Design Session 18
Digital Design Session 18Digital Design Session 18
Digital Design Session 18
 
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
 
Dee2034 chapter 2 boolean algebra part c
Dee2034 chapter 2 boolean algebra part cDee2034 chapter 2 boolean algebra part c
Dee2034 chapter 2 boolean algebra part c
 
Dee2034 chapter 2 boolean algebra part b
Dee2034 chapter 2 boolean algebra part bDee2034 chapter 2 boolean algebra part b
Dee2034 chapter 2 boolean algebra part b
 

Similar to Digital Design Session 12

Qrcodequickresponsecode presentation
Qrcodequickresponsecode presentationQrcodequickresponsecode presentation
Qrcodequickresponsecode presentationUmsh23
 
Lecture5 Chapter1- Binary Codes.pdf
Lecture5 Chapter1- Binary Codes.pdfLecture5 Chapter1- Binary Codes.pdf
Lecture5 Chapter1- Binary Codes.pdfUmerKhan147799
 
Project Report On 0-9 decade counter
Project Report On 0-9 decade counterProject Report On 0-9 decade counter
Project Report On 0-9 decade counterOmkar Rane
 
fixed-point-vs-floating-point.ppt
fixed-point-vs-floating-point.pptfixed-point-vs-floating-point.ppt
fixed-point-vs-floating-point.pptRavikumarR77
 
Sean Farmar - Successfully Decomposing Your Monolith or UpdateUser Means Noth...
Sean Farmar - Successfully Decomposing Your Monolith or UpdateUser Means Noth...Sean Farmar - Successfully Decomposing Your Monolith or UpdateUser Means Noth...
Sean Farmar - Successfully Decomposing Your Monolith or UpdateUser Means Noth...Codemotion
 
Advanced View Pic Microcontroller Projects List _ PIC Microcontroller.pdf
Advanced View Pic Microcontroller Projects List _ PIC Microcontroller.pdfAdvanced View Pic Microcontroller Projects List _ PIC Microcontroller.pdf
Advanced View Pic Microcontroller Projects List _ PIC Microcontroller.pdfWiseNaeem
 
Encoders and decoders
Encoders and decodersEncoders and decoders
Encoders and decodersDeepikaDG1
 
ARM-ES MANUAL.pdf
ARM-ES MANUAL.pdfARM-ES MANUAL.pdf
ARM-ES MANUAL.pdfvidhya1806
 
Unit 2a combinational circuits
Unit 2a combinational circuitsUnit 2a combinational circuits
Unit 2a combinational circuitsanshul sharma
 

Similar to Digital Design Session 12 (20)

Digital Design Session 23
Digital Design Session 23Digital Design Session 23
Digital Design Session 23
 
Digital Design Session 11
Digital Design Session 11Digital Design Session 11
Digital Design Session 11
 
Qrcodequickresponsecode presentation
Qrcodequickresponsecode presentationQrcodequickresponsecode presentation
Qrcodequickresponsecode presentation
 
Encoder and decoder
Encoder and decoderEncoder and decoder
Encoder and decoder
 
Lecture5 Chapter1- Binary Codes.pdf
Lecture5 Chapter1- Binary Codes.pdfLecture5 Chapter1- Binary Codes.pdf
Lecture5 Chapter1- Binary Codes.pdf
 
Project Report On 0-9 decade counter
Project Report On 0-9 decade counterProject Report On 0-9 decade counter
Project Report On 0-9 decade counter
 
BCD ADDER (1).pptx
BCD ADDER (1).pptxBCD ADDER (1).pptx
BCD ADDER (1).pptx
 
Digital Design Session 26
Digital Design Session 26Digital Design Session 26
Digital Design Session 26
 
fixed-point-vs-floating-point.ppt
fixed-point-vs-floating-point.pptfixed-point-vs-floating-point.ppt
fixed-point-vs-floating-point.ppt
 
BCD ADDER (1).pptx
BCD ADDER (1).pptxBCD ADDER (1).pptx
BCD ADDER (1).pptx
 
Sean Farmar - Successfully Decomposing Your Monolith or UpdateUser Means Noth...
Sean Farmar - Successfully Decomposing Your Monolith or UpdateUser Means Noth...Sean Farmar - Successfully Decomposing Your Monolith or UpdateUser Means Noth...
Sean Farmar - Successfully Decomposing Your Monolith or UpdateUser Means Noth...
 
Advanced View Pic Microcontroller Projects List _ PIC Microcontroller.pdf
Advanced View Pic Microcontroller Projects List _ PIC Microcontroller.pdfAdvanced View Pic Microcontroller Projects List _ PIC Microcontroller.pdf
Advanced View Pic Microcontroller Projects List _ PIC Microcontroller.pdf
 
Combinational Ckt.pdf
Combinational Ckt.pdfCombinational Ckt.pdf
Combinational Ckt.pdf
 
Encoder and decoder
Encoder and decoderEncoder and decoder
Encoder and decoder
 
Encoders
EncodersEncoders
Encoders
 
Encoders
EncodersEncoders
Encoders
 
Encoders and decoders
Encoders and decodersEncoders and decoders
Encoders and decoders
 
Mcs 012 soved assignment 2015-16
Mcs 012 soved assignment 2015-16Mcs 012 soved assignment 2015-16
Mcs 012 soved assignment 2015-16
 
ARM-ES MANUAL.pdf
ARM-ES MANUAL.pdfARM-ES MANUAL.pdf
ARM-ES MANUAL.pdf
 
Unit 2a combinational circuits
Unit 2a combinational circuitsUnit 2a combinational circuits
Unit 2a combinational circuits
 

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

Digital Design Session 29
Digital Design Session 29Digital Design Session 29
Digital Design Session 29
 
Digital Design Session 24
Digital Design Session 24Digital Design Session 24
Digital Design Session 24
 
Digital Design Session 22
Digital Design Session 22Digital Design Session 22
Digital Design Session 22
 
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
 
Basic Electric Circuits Tutorial 7
Basic Electric Circuits Tutorial 7Basic Electric Circuits Tutorial 7
Basic Electric Circuits Tutorial 7
 

Recently uploaded

College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCall 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
 
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
 
High Profile Call Girls Dahisar Arpita 9907093804 Independent Escort Service ...
High Profile Call Girls Dahisar Arpita 9907093804 Independent Escort Service ...High Profile Call Girls Dahisar Arpita 9907093804 Independent Escort Service ...
High Profile Call Girls Dahisar Arpita 9907093804 Independent Escort Service ...Call girls in Ahmedabad High profile
 
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
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Dr.Costas Sachpazis
 
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
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxpranjaldaimarysona
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingrknatarajan
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSKurinjimalarL3
 
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
 
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
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...Call Girls in Nagpur High Profile
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130Suhani Kapoor
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSRajkumarAkumalla
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Christo Ananth
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 

Recently uploaded (20)

College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
 
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
 
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 )
 
High Profile Call Girls Dahisar Arpita 9907093804 Independent Escort Service ...
High Profile Call Girls Dahisar Arpita 9907093804 Independent Escort Service ...High Profile Call Girls Dahisar Arpita 9907093804 Independent Escort Service ...
High Profile Call Girls Dahisar Arpita 9907093804 Independent Escort Service ...
 
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...
 
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
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
 
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINEDJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
 
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
 
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
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptx
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
 
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
 
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
 
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...Booking open Available Pune Call Girls Koregaon Park  6297143586 Call Hot Ind...
Booking open Available Pune Call Girls Koregaon Park 6297143586 Call Hot Ind...
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
 
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
Call for Papers - African Journal of Biological Sciences, E-ISSN: 2663-2187, ...
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
 

Digital Design Session 12

  • 1. Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com
  • 2. Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 2 Session 12: Focus  Binary Multiplier ◦ 2-bit multiplier Implementation ◦ 4-bit by 3-bit multiplier Implementation  Decoder ◦ Basic Binary Decoding logic ◦ 3-to-8 line Decoder Implementation ◦ 4-bit Decoder ◦ Decoder in Use  Encoder ◦ Decimal-to-BCD Encoder
  • 3. Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com Binary Multiplier
  • 4. Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 4 Binary Multiplier  Multiplication of binary numbers is performed in the same way as multiplication of decimal numbers.  The multiplicand is multiplied by each bit of the multiplier, starting from the least significant bit.  Each such multiplication forms a partial product.  Successive partial products are shifted one position to the left.  The final product is obtained from the sum of the partial products
  • 5. Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 5 2-bit by 2-bit Multiplier The multiplicand bits are B1 and B0, the multiplier bits are A1 and A0, and the product is C3C2C1C0
  • 6. Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 6 Multiplier Circuit: 4-bit by 3-bit The multiplicand has 4 bits B3B2B1B0 and the multiplier has 3 bits A2A1A0 and the product is 7 bits C6C5C4C3C2C1C0 B3B2B1B0 * A2A1A0 C6C5C4C3C2C1C0
  • 7. Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com Decoder
  • 8. Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 8 Decoder  A decoder is a digital circuit that detects the presence of a specified combinations of bits (code) on its inputs and  Indicates the presence of that code by a specified output level  In its general form, a decoder has n input lines to handle n bits  It has from one to 2n output lines to indicate the presence of one or more n-bit combinations
  • 9. Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 9 Quiz 1: Basic Binary Decoding Logic  Design a decoding logic which gives an output one when the input is 1001  For all other inputs it gives an output of zero
  • 10. Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 10 Quiz 2: Design a Decoding Logic  Design a decoding logic which gives an output one when the input is 1011 (A3A2A1A0)  For all other inputs it gives an output of zero
  • 11. Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 11 Quiz 3: Design a Decoding Logic  Design a decoding logic which produces an active low output when the input is 11001 (A4A3A2A1A0)  For all other inputs it gives an output of one A4 A3 X = A4A3 A01A2A o
  • 12. Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 12 3-line-to-8-line Decoder  It has 3 inputs and 8 outputs  Truth Table is given below:
  • 13. Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 13 3-line-to-8-line Decoder Implementation
  • 14. Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 14 Active Low 4-bit Decoder Truth Table  A 4-bit decoder will have 24 outputs, which are shown below  Commonly called as 4-line-to-16-line or 1-of-16 decoder
  • 15. Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 15 Logic Symbol of Decoder  Logic Symbol of 1-of-16 decoder with active-LOW outputs 4-bit Inputs 16-bit Outputs
  • 16. Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 16 Application of Decoder  A I/O Port address decoder
  • 17. Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com Encoder
  • 18. Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 18 Encoder  An encoder is a combinational circuit that essentially performs a reverse decoder function  An encoder accepts an active level on one of its inputs representing a digit, such as a decimal, or octal digit, and converts it to a coded output, such as BCD or binary
  • 19. Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 19 Decimal-to-BCD Encoder
  • 20. Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 20 Session 10B: Summary  Binary Multiplier ◦ 2-bit multiplier Implementation ◦ 4-bit by 3-bit multiplier Implementation  Decoder ◦ Basic Binary Decoding logic ◦ 3-to-8 line Decoder Implementation ◦ 4-bit Decoder ◦ Decoder in Use  Encoder ◦ Decimal-to-BCD Encoder
  • 21. Digital Design – © 2020 Mouli Sankaran Email: mouli.sankaran@yahoo.com 21 References Ref 1 Ref 2