SlideShare a Scribd company logo
1 of 14
Encoder
• AN ENCODER IS A COMBINATIONAL CIRCUIT THAT PERFORMS THE REVERSE OPERATION
OF DECODER
• IT HAS MAXIMUM OF 2N INPUT LINES AND ‘N’ OUTPUT LINES. IT WILL PRODUCE A
BINARY CODE EQUIVALENT TO THE INPUT, WHICH IS ACTIVE HIGH.
• THEREFORE, THE ENCODER ENCODES 2N INPUT LINES WITH ‘N’ BITS. IT IS OPTIONAL TO
REPRESENT THE ENABLE SIGNAL IN ENCODERS .
• 4 TO 2 ENCODER
LET 4 TO 2 ENCODER HAS FOUR INPUTS Y3, Y2, Y1 & Y0 AND TWO OUTPUTS A1 & A0.
THE BLOCK DIAGRAM OF 4 TO 2 ENCODER IS SHOWN IN THE FOLLOWING FIGURE.
1
At any time, only one of these 4 inputs can be ‘1’in order to get the respective binary
code at the output.the truth table of encoder is shown below
2
Types of encoder
•There are 2 main types encoder
•1: binary encoder
•2: priority encoder
3
Decoder
•The decoder is an electronic device that is used to convert digital signal to an analogue signal. It
allows single input line and produces multiple output lines.
•The decoders are used in many communication projects that are used to communicate between
two devices. The decoder allows N- inputs and generates 2 power N-numbers of outputs. For
example, if we give 2 inputs that will produce 4 outputs by using 4 by 2 decoder. The truth table
of decoder and circuit is shown below
4
Types of Decoder
• Binary Decoders.
• 2-to-4 Binary Decoder.
• 3-to-8 Decoder.
• 4-to-16 Decoder.
• Applications of Decoders. Binary to Decimal Decoder. Address Decoders. Instruction Decoder.
5
2-to-4 line Decoder
In this type of encoders and decoders, decoders contain two inputs A0, A1, and four outputs represented by
D0, D1, D2, and D3. As you can see in the truth table – for each input combination, one output line is
activated.
6
Multiplexer
• A Multiplexer is a device that allows one of several analog or digital input signals which are to be selected
and transmits the input that is selected into a single medium. Multiplexer is also known as Data Selector.
• A multiplexer of 2n inputs has n select lines that will be used to select input line to send to the output.
Multiplexer is abbreviated as Mux.
•The Multiplexer acts as a multiple-input and single-output switch.
7
Types of Multiplexer
• The different types of multiplexing technologies are as below
• Wavelength Division Multiplexing (WDM)
• Frequency Division Multiplexing (FDM)
• Dense Wavelength Division Multiplexing (DWDM)
• Conventional Wavelength Division Multiplexing (CWDM)
• Reconfigurable Optical Add-Drop Multiplexer (ROADM)
• Orthogonal Frequency Division Multiplexing (OFDM)
• Add/Drop Multiplexing (ADM)
• Inverse Multiplexing (IMUX)
8
Demultiplexer
•The data distributor, known more commonly as a Demultiplexer or “Demux” for short, is the exact opposite
of the Multiplexer we saw in the previous tutorial.
•The demultiplexer takes one single input data line and then switches it to any one of a number of individual
output lines one at a time. The demultiplexer converts a serial data signal at the input to a parallel data at its
output lines as shown below.
9
Types of DE_MUX
1 to 4 Demultiplexer.
1 to 8 Demultiplexer.
1 to 16 Demultiplexer.
•: 1 to 4 Demultiplexer.
• The 1 to 4 demultiplexer consists of one input, four outputs, and two control lines to make
selections The below diagram shows the circuit of 1 to 4 demultiplexer.
10
What is Adder
In electronic an adder is digital circuit that perform addition of numbers. In modern computer adder reside in
the arithmetic logic unit (ALU).
It is most important device to perform numeric data operations
There are 2 types of adder
1: Half adder
2:full adder
11
Half adder
• A half adder is a type of adder, an electronic circuit that performs the addition of numbers. The half
adder is able to add two single binary digits and provide the output plus a carry value. It has two inputs,
called A and B, and two outputs S (sum) and C (carry). Half adder schemetic and truth table is shown below
12
Full adder
A full adder circuit is central to most digital circuit that perform addition or subtraction. It is so
called because it adds together two binary digits, plus a carry-in digit to produce a sum and carry-
out digit.1 It therefore has three inputs and two outputs.block diagram is shown below
NAME:MOHAMMAD SALMAN
CMS: 49060
SEMESTER: CE4TH
13
Full adder
Logical Expression for SUM:
= A’ B’ C-IN + A’ B C-IN’ + A B’ C-IN’ + A B C-IN
= C-IN (A’ B’ + A B) + C-IN’ (A’ B + A B’)
= C-IN XOR (A XOR B)
= (1,2,4,7)
Logical Expression for C-OUT:
= A’ B C-IN + A B’ C-IN + A B C-IN’ + A B C-IN
= A B + B C-IN + A C-IN
= (3,5,6,7)
14

More Related Content

Similar to Encoder, Decoder, Multiplexer and Adder Circuits

Combinational circuits r011
Combinational circuits   r011Combinational circuits   r011
Combinational circuits r011arunachalamr16
 
Combinational circuit
Combinational circuitCombinational circuit
Combinational circuitsabina deshar
 
CHAPTER 6: Function of Combination Logic From Flyod ( Digital Logic Design )
CHAPTER 6: Function of Combination Logic From Flyod ( Digital Logic Design ) CHAPTER 6: Function of Combination Logic From Flyod ( Digital Logic Design )
CHAPTER 6: Function of Combination Logic From Flyod ( Digital Logic Design ) Sefat Ahammed Shovo
 
LOGIC DECODERS and MULTI.pptx
LOGIC DECODERS and MULTI.pptxLOGIC DECODERS and MULTI.pptx
LOGIC DECODERS and MULTI.pptxHazardRhenz1
 
multiplexer 4 input
multiplexer 4 inputmultiplexer 4 input
multiplexer 4 inputAnkit Mistry
 
combinational_circuits
combinational_circuitscombinational_circuits
combinational_circuitsBindu Madhavi
 
combinational_circuits
combinational_circuitscombinational_circuits
combinational_circuitsBindu Madhavi
 
Encoder-and-decoder.pptx
Encoder-and-decoder.pptxEncoder-and-decoder.pptx
Encoder-and-decoder.pptxKamranAli649587
 
Combinational circuits
Combinational circuits Combinational circuits
Combinational circuits DrSonali Vyas
 
B.sc cs-ii-u-1.4 digital logic circuits, digital component
B.sc cs-ii-u-1.4 digital logic circuits, digital componentB.sc cs-ii-u-1.4 digital logic circuits, digital component
B.sc cs-ii-u-1.4 digital logic circuits, digital componentRai University
 
Bca 2nd sem-u-1.4 digital logic circuits, digital component
Bca 2nd sem-u-1.4 digital logic circuits, digital componentBca 2nd sem-u-1.4 digital logic circuits, digital component
Bca 2nd sem-u-1.4 digital logic circuits, digital componentRai University
 
DLD Lecture No 22 Decoder Circuit and Types of Decoder.pptx
DLD Lecture No 22 Decoder Circuit and Types of Decoder.pptxDLD Lecture No 22 Decoder Circuit and Types of Decoder.pptx
DLD Lecture No 22 Decoder Circuit and Types of Decoder.pptxSaveraAyub2
 
ENG 202 – Digital Electronics 1 - Chapter 4 (1).pptx
ENG 202 – Digital Electronics 1 - Chapter 4 (1).pptxENG 202 – Digital Electronics 1 - Chapter 4 (1).pptx
ENG 202 – Digital Electronics 1 - Chapter 4 (1).pptxAishah928448
 

Similar to Encoder, Decoder, Multiplexer and Adder Circuits (20)

B sc3 unit 4 combi..lckt
B sc3 unit 4 combi..lcktB sc3 unit 4 combi..lckt
B sc3 unit 4 combi..lckt
 
Combinational circuits r011
Combinational circuits   r011Combinational circuits   r011
Combinational circuits r011
 
Combinational circuit
Combinational circuitCombinational circuit
Combinational circuit
 
DCF-Combinational circuit
DCF-Combinational circuitDCF-Combinational circuit
DCF-Combinational circuit
 
CHAPTER 6: Function of Combination Logic From Flyod ( Digital Logic Design )
CHAPTER 6: Function of Combination Logic From Flyod ( Digital Logic Design ) CHAPTER 6: Function of Combination Logic From Flyod ( Digital Logic Design )
CHAPTER 6: Function of Combination Logic From Flyod ( Digital Logic Design )
 
Lect 1 unit 2.pdf
Lect 1 unit 2.pdfLect 1 unit 2.pdf
Lect 1 unit 2.pdf
 
ATT SMK.pptx
ATT SMK.pptxATT SMK.pptx
ATT SMK.pptx
 
LOGIC DECODERS and MULTI.pptx
LOGIC DECODERS and MULTI.pptxLOGIC DECODERS and MULTI.pptx
LOGIC DECODERS and MULTI.pptx
 
multiplexer and d-multiplexer
multiplexer and d-multiplexermultiplexer and d-multiplexer
multiplexer and d-multiplexer
 
STLD-Combinational logic design
STLD-Combinational  logic design STLD-Combinational  logic design
STLD-Combinational logic design
 
multiplexer 4 input
multiplexer 4 inputmultiplexer 4 input
multiplexer 4 input
 
Encoders and decoders
Encoders and decodersEncoders and decoders
Encoders and decoders
 
combinational_circuits
combinational_circuitscombinational_circuits
combinational_circuits
 
combinational_circuits
combinational_circuitscombinational_circuits
combinational_circuits
 
Encoder-and-decoder.pptx
Encoder-and-decoder.pptxEncoder-and-decoder.pptx
Encoder-and-decoder.pptx
 
Combinational circuits
Combinational circuits Combinational circuits
Combinational circuits
 
B.sc cs-ii-u-1.4 digital logic circuits, digital component
B.sc cs-ii-u-1.4 digital logic circuits, digital componentB.sc cs-ii-u-1.4 digital logic circuits, digital component
B.sc cs-ii-u-1.4 digital logic circuits, digital component
 
Bca 2nd sem-u-1.4 digital logic circuits, digital component
Bca 2nd sem-u-1.4 digital logic circuits, digital componentBca 2nd sem-u-1.4 digital logic circuits, digital component
Bca 2nd sem-u-1.4 digital logic circuits, digital component
 
DLD Lecture No 22 Decoder Circuit and Types of Decoder.pptx
DLD Lecture No 22 Decoder Circuit and Types of Decoder.pptxDLD Lecture No 22 Decoder Circuit and Types of Decoder.pptx
DLD Lecture No 22 Decoder Circuit and Types of Decoder.pptx
 
ENG 202 – Digital Electronics 1 - Chapter 4 (1).pptx
ENG 202 – Digital Electronics 1 - Chapter 4 (1).pptxENG 202 – Digital Electronics 1 - Chapter 4 (1).pptx
ENG 202 – Digital Electronics 1 - Chapter 4 (1).pptx
 

Recently uploaded

The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...Pooja Nehwal
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfchloefrazer622
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room servicediscovermytutordmt
 
The byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptxThe byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptxShobhayan Kirtania
 
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...anjaliyadav012327
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDThiyagu K
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 

Recently uploaded (20)

The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdf
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room service
 
The byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptxThe byproduct of sericulture in different industries.pptx
The byproduct of sericulture in different industries.pptx
 
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 

Encoder, Decoder, Multiplexer and Adder Circuits

  • 1. Encoder • AN ENCODER IS A COMBINATIONAL CIRCUIT THAT PERFORMS THE REVERSE OPERATION OF DECODER • IT HAS MAXIMUM OF 2N INPUT LINES AND ‘N’ OUTPUT LINES. IT WILL PRODUCE A BINARY CODE EQUIVALENT TO THE INPUT, WHICH IS ACTIVE HIGH. • THEREFORE, THE ENCODER ENCODES 2N INPUT LINES WITH ‘N’ BITS. IT IS OPTIONAL TO REPRESENT THE ENABLE SIGNAL IN ENCODERS . • 4 TO 2 ENCODER LET 4 TO 2 ENCODER HAS FOUR INPUTS Y3, Y2, Y1 & Y0 AND TWO OUTPUTS A1 & A0. THE BLOCK DIAGRAM OF 4 TO 2 ENCODER IS SHOWN IN THE FOLLOWING FIGURE. 1
  • 2. At any time, only one of these 4 inputs can be ‘1’in order to get the respective binary code at the output.the truth table of encoder is shown below 2
  • 3. Types of encoder •There are 2 main types encoder •1: binary encoder •2: priority encoder 3
  • 4. Decoder •The decoder is an electronic device that is used to convert digital signal to an analogue signal. It allows single input line and produces multiple output lines. •The decoders are used in many communication projects that are used to communicate between two devices. The decoder allows N- inputs and generates 2 power N-numbers of outputs. For example, if we give 2 inputs that will produce 4 outputs by using 4 by 2 decoder. The truth table of decoder and circuit is shown below 4
  • 5. Types of Decoder • Binary Decoders. • 2-to-4 Binary Decoder. • 3-to-8 Decoder. • 4-to-16 Decoder. • Applications of Decoders. Binary to Decimal Decoder. Address Decoders. Instruction Decoder. 5
  • 6. 2-to-4 line Decoder In this type of encoders and decoders, decoders contain two inputs A0, A1, and four outputs represented by D0, D1, D2, and D3. As you can see in the truth table – for each input combination, one output line is activated. 6
  • 7. Multiplexer • A Multiplexer is a device that allows one of several analog or digital input signals which are to be selected and transmits the input that is selected into a single medium. Multiplexer is also known as Data Selector. • A multiplexer of 2n inputs has n select lines that will be used to select input line to send to the output. Multiplexer is abbreviated as Mux. •The Multiplexer acts as a multiple-input and single-output switch. 7
  • 8. Types of Multiplexer • The different types of multiplexing technologies are as below • Wavelength Division Multiplexing (WDM) • Frequency Division Multiplexing (FDM) • Dense Wavelength Division Multiplexing (DWDM) • Conventional Wavelength Division Multiplexing (CWDM) • Reconfigurable Optical Add-Drop Multiplexer (ROADM) • Orthogonal Frequency Division Multiplexing (OFDM) • Add/Drop Multiplexing (ADM) • Inverse Multiplexing (IMUX) 8
  • 9. Demultiplexer •The data distributor, known more commonly as a Demultiplexer or “Demux” for short, is the exact opposite of the Multiplexer we saw in the previous tutorial. •The demultiplexer takes one single input data line and then switches it to any one of a number of individual output lines one at a time. The demultiplexer converts a serial data signal at the input to a parallel data at its output lines as shown below. 9
  • 10. Types of DE_MUX 1 to 4 Demultiplexer. 1 to 8 Demultiplexer. 1 to 16 Demultiplexer. •: 1 to 4 Demultiplexer. • The 1 to 4 demultiplexer consists of one input, four outputs, and two control lines to make selections The below diagram shows the circuit of 1 to 4 demultiplexer. 10
  • 11. What is Adder In electronic an adder is digital circuit that perform addition of numbers. In modern computer adder reside in the arithmetic logic unit (ALU). It is most important device to perform numeric data operations There are 2 types of adder 1: Half adder 2:full adder 11
  • 12. Half adder • A half adder is a type of adder, an electronic circuit that performs the addition of numbers. The half adder is able to add two single binary digits and provide the output plus a carry value. It has two inputs, called A and B, and two outputs S (sum) and C (carry). Half adder schemetic and truth table is shown below 12
  • 13. Full adder A full adder circuit is central to most digital circuit that perform addition or subtraction. It is so called because it adds together two binary digits, plus a carry-in digit to produce a sum and carry- out digit.1 It therefore has three inputs and two outputs.block diagram is shown below NAME:MOHAMMAD SALMAN CMS: 49060 SEMESTER: CE4TH 13
  • 14. Full adder Logical Expression for SUM: = A’ B’ C-IN + A’ B C-IN’ + A B’ C-IN’ + A B C-IN = C-IN (A’ B’ + A B) + C-IN’ (A’ B + A B’) = C-IN XOR (A XOR B) = (1,2,4,7) Logical Expression for C-OUT: = A’ B C-IN + A B’ C-IN + A B C-IN’ + A B C-IN = A B + B C-IN + A C-IN = (3,5,6,7) 14