SlideShare a Scribd company logo
1 of 37
Digital Electronics..,
BY
A.FATHIMA THASLIM
DECODER AND ENCODER
DECODER
 The combinational circuit that change the binary information into 2N output lines is
known as Decoders.
 The binary information is passed in the form of N input lines. The output lines define the
2N-bit code for the binary information.
BLOCK DIAGRAM
TYPES OF DECODER
2 TO 4 LINE DECODER
 In the 2 to 4 line decoder, there is a total of three inputs, i.e., A0, and A1 and E and four
outputs, i.e., Y0, Y1, Y2, and Y3.
 For each combination of inputs, when the enable 'E' is set to 1, one of these four outputs
will be 1.
BLOCK DIAGRAM LOGICAL EXPRESSION
 Y3=E.A1.A0
 Y2=E.A1.A0'
 Y1=E.A1'.A0
 Y0=E.A1'.A0'
LOGIC DIAGRAM
TRUTH TABEL
3 TO 8 LINE DECODER
 The 3 to 8 line decoder is also known as Binary to Octal Decoder.
 In a 3 to 8 line decoder, there is a total of eight outputs, i.e., Y0, Y1, Y2, Y3, Y4, Y5, Y6,
and Y7 and three outputs, i.e., A0, A1, and A2.
 This circuit has an enable input 'E'. Just like 2 to 4 line decoder, when enable 'E' is set to
1, one of these four outputs will be 1.
BLOCK DIAGRAM LOGICAL EXPRESSION
 Y0=A0'.A1'.A2'
 Y1=A0.A1'.A2'
 Y2=A0'.A1.A2'
 Y3=A0.A1.A2'
 Y4=A0'.A1'.A2
 Y5=A0.A1'.A2
 Y6=A0'.A1.A2
 Y7=A0.A1.A2
LOGIC DIAGRAM
TRUTH TABEL
4 TO 16 LINE DECODER
 In the 4 to 16 line decoder, there is a total of 16 outputs, i.e., Y0, Y1, Y2,……, Y16 and
four inputs, i.e., A0, A1, A2, and A3.
 The 3 to 16 line decoder can be constructed using either 2 to 4 decoder or 3 to 8 decoder.
Required number of lower order decoders=m2/m1
m1 = 8
m2 = 16
Required number of 3 to 8 decoders=Decoder=2
BLOCK DIAGRAM LOGICAL EXPRESSION
Y0=A0'.A1'.A2'.A3' Y8=A0.A1'.A2'.A3'
Y1=A0'.A1'.A2'.A3 Y9=A0.A1'.A2'.A3
Y2=A0'.A1'.A2.A3' Y10=A0.A1'.A2.A3'
Y3=A0'.A1'.A2.A3 Y11=A0.A1'.A2.A3
Y4=A0'.A1.A2'.A3’ Y12=A0.A1.A2'.A3'
Y5=A0'.A1.A2'.A3 Y13=A0.A1.A2'.A3
Y6=A0'.A1.A2.A3' Y14=A0.A1.A2.A3'
Y7=A0'.A1.A2.A3 Y15=A0.A1.A2'.A3
LOGIC DIAGRAM
TRUTH TABEL
ENCODER
 The combinational circuits that change the binary information into N output lines are
known as Encoders.
 The binary information is passed in the form of 2N input lines. The output lines define
the N-bit code for the binary information.
BLOCK DIAGRAM
TYPES OF ENCODER
4 TO 2 LINE ENCODER
 In 4 to 2 line encoder, there are total of four inputs, i.e., Y0, Y1, Y2, and Y3, and two
outputs, i.e., A0 and A1.
 In 4-input lines, one input-line is set to true at a time to get the respective binary code in
the output side.
BLOCK DIAGRAM LOGIC EXPRESSION
 A1=Y3+Y2
 A0=Y3+Y1
LOGIC DIAGRAM
TRUTH TABEL
8 TO 3 LINE ENCODER
 The 8 to 3 line Encoder is also known as Octal to Binary Encoder.
 In 8 to 3 line encoder, there is a total of eight inputs, i.e., Y0, Y1, Y2, Y3, Y4, Y5, Y6,
and Y7 and three outputs, i.e., A0, A1, and A2. In 8-input lines, one input-line is set to
true at a time to get the respective binary code in the output side.
BLOCK DIAGRAM LOGIC EXPRESSION
 A2=Y4+Y5+Y6+Y7
 A1=Y2+Y3+Y6+Y7
 A0=Y7+Y5+Y3+Y1
LOGIC DIAGRAM
TRUTH TABEL
DECIMAL TO BCD ENCODER
 The Octal to Binary Encoder is also known as 10 to 4 line Encoder.
 In 10 to 4 line encoder, there are total of ten inputs, i.e., Y0, Y1, Y2, Y3, Y4, Y5, Y6, Y7,
Y8, and Y9 and four outputs, i.e., A0, A1, A2, and A3.
 In 10-input lines, one input-line is set to true at a time to get the respective BCD code in
the output side.
BLOCK DIAGRAM LOGIC EXPRESSION
 A3 = Y9 + Y8
 A2 = Y7 + Y6 + Y5 +Y4
 A1 = Y7 + Y6 + Y3 +Y2
 A0 = Y9 + Y7 +Y5 +Y3 + Y1
LOGIC DIAGRAM
TRUTH TABEL
PRIORITY ENCODER
 The Priority Encoder is also known as 4 to 2 line Priority Encoder:
 In this priority encoder, there are total of 4 inputs, i.e., Y0, Y1, Y2, and Y3, and two
outputs, i.e., A0 and A1. The Y3 has high and Y0 has low priority inputs.
 When more than one input is '1' at the same time, the output will be the (binary) code
corresponding to the higher priority input.
TRUTH TABEL
The logical expression of the term A0 and A1 can be found using K-map as:
LOGIC DIAGRAM
DECODER AND ENCODER (1).pptx

More Related Content

What's hot

Synchronous counters
Synchronous countersSynchronous counters
Synchronous countersLee Diaz
 
Fixed point and floating-point numbers
Fixed point and  floating-point numbersFixed point and  floating-point numbers
Fixed point and floating-point numbersMOHAN MOHAN
 
Magnitude comparator
Magnitude comparatorMagnitude comparator
Magnitude comparatorPreet_patel
 
Encoder & Decoder
Encoder & DecoderEncoder & Decoder
Encoder & DecoderSyed Saeed
 
Digital logic gates
Digital logic gatesDigital logic gates
Digital logic gatesjsearle11
 
Code conversions.pptx415.pptx
Code conversions.pptx415.pptxCode conversions.pptx415.pptx
Code conversions.pptx415.pptxMariaJoseph591921
 
SOP POS, Minterm and Maxterm
SOP POS, Minterm and MaxtermSOP POS, Minterm and Maxterm
SOP POS, Minterm and MaxtermSelf-employed
 
Encoder and decoder
Encoder and decoderEncoder and decoder
Encoder and decoderAbid Ali
 
Seven segment display
Seven segment display Seven segment display
Seven segment display SalmaAkter37
 
Half adder & full adder
Half adder & full adderHalf adder & full adder
Half adder & full adderGaditek
 
adder and subtractor
 adder and subtractor adder and subtractor
adder and subtractorUnsa Shakir
 
Weighted and Non Weighted Codes
Weighted and Non Weighted CodesWeighted and Non Weighted Codes
Weighted and Non Weighted CodesSubhamSatpathy2
 
BOOLEAN ALGEBRA AND LOGIC GATE
BOOLEAN ALGEBRA AND LOGIC GATE BOOLEAN ALGEBRA AND LOGIC GATE
BOOLEAN ALGEBRA AND LOGIC GATE Tamim Tanvir
 

What's hot (20)

Synchronous counters
Synchronous countersSynchronous counters
Synchronous counters
 
Fixed point and floating-point numbers
Fixed point and  floating-point numbersFixed point and  floating-point numbers
Fixed point and floating-point numbers
 
Multiplexers & Demultiplexers
Multiplexers & DemultiplexersMultiplexers & Demultiplexers
Multiplexers & Demultiplexers
 
Magnitude comparator
Magnitude comparatorMagnitude comparator
Magnitude comparator
 
Encoder & Decoder
Encoder & DecoderEncoder & Decoder
Encoder & Decoder
 
Digital logic gates
Digital logic gatesDigital logic gates
Digital logic gates
 
Code conversions.pptx415.pptx
Code conversions.pptx415.pptxCode conversions.pptx415.pptx
Code conversions.pptx415.pptx
 
SOP POS, Minterm and Maxterm
SOP POS, Minterm and MaxtermSOP POS, Minterm and Maxterm
SOP POS, Minterm and Maxterm
 
Encoder and decoder
Encoder and decoderEncoder and decoder
Encoder and decoder
 
Seven segment display
Seven segment display Seven segment display
Seven segment display
 
Multiplexer
MultiplexerMultiplexer
Multiplexer
 
Half adder & full adder
Half adder & full adderHalf adder & full adder
Half adder & full adder
 
13 Boolean Algebra
13 Boolean Algebra13 Boolean Algebra
13 Boolean Algebra
 
Encoder
EncoderEncoder
Encoder
 
Boolean Algebra
Boolean AlgebraBoolean Algebra
Boolean Algebra
 
adder and subtractor
 adder and subtractor adder and subtractor
adder and subtractor
 
Encoder and decoder
Encoder and decoderEncoder and decoder
Encoder and decoder
 
Weighted and Non Weighted Codes
Weighted and Non Weighted CodesWeighted and Non Weighted Codes
Weighted and Non Weighted Codes
 
BOOLEAN ALGEBRA AND LOGIC GATE
BOOLEAN ALGEBRA AND LOGIC GATE BOOLEAN ALGEBRA AND LOGIC GATE
BOOLEAN ALGEBRA AND LOGIC GATE
 
decade counter
decade counterdecade counter
decade counter
 

Similar to DECODER AND ENCODER (1).pptx

Computer Architecture_Encoders NOTES.docx
Computer Architecture_Encoders NOTES.docxComputer Architecture_Encoders NOTES.docx
Computer Architecture_Encoders NOTES.docxSangitaBose2
 
Computer Architecture_Decoder NOTES.docx
Computer Architecture_Decoder NOTES.docxComputer Architecture_Decoder NOTES.docx
Computer Architecture_Decoder NOTES.docxSangitaBose2
 
Encoder_decoder_si.pdf
Encoder_decoder_si.pdfEncoder_decoder_si.pdf
Encoder_decoder_si.pdfsimmis5
 
Decoders-Digital Electronics
Decoders-Digital ElectronicsDecoders-Digital Electronics
Decoders-Digital ElectronicsPaurav Shah
 
decoders121-170714184489769876987698749.pptx
decoders121-170714184489769876987698749.pptxdecoders121-170714184489769876987698749.pptx
decoders121-170714184489769876987698749.pptxtlap4412
 
Digital VLSI - Unit 2.pptx
Digital VLSI - Unit 2.pptxDigital VLSI - Unit 2.pptx
Digital VLSI - Unit 2.pptxSanjaiPrasad
 
digital-electronics_9 encoder and decoder pdf
digital-electronics_9 encoder and decoder pdfdigital-electronics_9 encoder and decoder pdf
digital-electronics_9 encoder and decoder pdfsomanathbtech
 
digital-electronics_9 encoder and decoder pdf
digital-electronics_9 encoder and decoder pdfdigital-electronics_9 encoder and decoder pdf
digital-electronics_9 encoder and decoder pdfsomanathbtech
 
Decodder presentation by ibrar
Decodder presentation by ibrarDecodder presentation by ibrar
Decodder presentation by ibraribrar562
 
Digital electronices encode decode
Digital electronices encode decodeDigital electronices encode decode
Digital electronices encode decodeSabbir Ahmed Zoy
 
Chapter 4 combinational circuit
Chapter 4 combinational circuit Chapter 4 combinational circuit
Chapter 4 combinational circuit GulAhmad16
 

Similar to DECODER AND ENCODER (1).pptx (20)

Computer Architecture_Encoders NOTES.docx
Computer Architecture_Encoders NOTES.docxComputer Architecture_Encoders NOTES.docx
Computer Architecture_Encoders NOTES.docx
 
Computer Architecture_Decoder NOTES.docx
Computer Architecture_Decoder NOTES.docxComputer Architecture_Decoder NOTES.docx
Computer Architecture_Decoder NOTES.docx
 
Encoder.pptx
Encoder.pptxEncoder.pptx
Encoder.pptx
 
Decoders
DecodersDecoders
Decoders
 
Encoder_decoder_si.pdf
Encoder_decoder_si.pdfEncoder_decoder_si.pdf
Encoder_decoder_si.pdf
 
B sc3 unit 4 combi..lckt
B sc3 unit 4 combi..lcktB sc3 unit 4 combi..lckt
B sc3 unit 4 combi..lckt
 
Decoders
DecodersDecoders
Decoders
 
Combinational Circuits PPT.pdf
Combinational Circuits PPT.pdfCombinational Circuits PPT.pdf
Combinational Circuits PPT.pdf
 
Chapter-04.pdf
Chapter-04.pdfChapter-04.pdf
Chapter-04.pdf
 
Decoders-Digital Electronics
Decoders-Digital ElectronicsDecoders-Digital Electronics
Decoders-Digital Electronics
 
decoders121-170714184489769876987698749.pptx
decoders121-170714184489769876987698749.pptxdecoders121-170714184489769876987698749.pptx
decoders121-170714184489769876987698749.pptx
 
The decoder
The decoderThe decoder
The decoder
 
Digital VLSI - Unit 2.pptx
Digital VLSI - Unit 2.pptxDigital VLSI - Unit 2.pptx
Digital VLSI - Unit 2.pptx
 
digital-electronics_9 encoder and decoder pdf
digital-electronics_9 encoder and decoder pdfdigital-electronics_9 encoder and decoder pdf
digital-electronics_9 encoder and decoder pdf
 
digital-electronics_9 encoder and decoder pdf
digital-electronics_9 encoder and decoder pdfdigital-electronics_9 encoder and decoder pdf
digital-electronics_9 encoder and decoder pdf
 
08 decoder
08 decoder08 decoder
08 decoder
 
Decodder presentation by ibrar
Decodder presentation by ibrarDecodder presentation by ibrar
Decodder presentation by ibrar
 
Digital electronices encode decode
Digital electronices encode decodeDigital electronices encode decode
Digital electronices encode decode
 
Chapter 4 combinational circuit
Chapter 4 combinational circuit Chapter 4 combinational circuit
Chapter 4 combinational circuit
 
11.ppt
11.ppt11.ppt
11.ppt
 

Recently uploaded

Introduction,importance and scope of horticulture.pptx
Introduction,importance and scope of horticulture.pptxIntroduction,importance and scope of horticulture.pptx
Introduction,importance and scope of horticulture.pptxBhagirath Gogikar
 
Formation of low mass protostars and their circumstellar disks
Formation of low mass protostars and their circumstellar disksFormation of low mass protostars and their circumstellar disks
Formation of low mass protostars and their circumstellar disksSérgio Sacani
 
Kochi ❤CALL GIRL 84099*07087 ❤CALL GIRLS IN Kochi ESCORT SERVICE❤CALL GIRL
Kochi ❤CALL GIRL 84099*07087 ❤CALL GIRLS IN Kochi ESCORT SERVICE❤CALL GIRLKochi ❤CALL GIRL 84099*07087 ❤CALL GIRLS IN Kochi ESCORT SERVICE❤CALL GIRL
Kochi ❤CALL GIRL 84099*07087 ❤CALL GIRLS IN Kochi ESCORT SERVICE❤CALL GIRLkantirani197
 
Call Girls Alandi Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Alandi Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Alandi Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Alandi Call Me 7737669865 Budget Friendly No Advance Bookingroncy bisnoi
 
dkNET Webinar "Texera: A Scalable Cloud Computing Platform for Sharing Data a...
dkNET Webinar "Texera: A Scalable Cloud Computing Platform for Sharing Data a...dkNET Webinar "Texera: A Scalable Cloud Computing Platform for Sharing Data a...
dkNET Webinar "Texera: A Scalable Cloud Computing Platform for Sharing Data a...dkNET
 
Bacterial Identification and Classifications
Bacterial Identification and ClassificationsBacterial Identification and Classifications
Bacterial Identification and ClassificationsAreesha Ahmad
 
Biogenic Sulfur Gases as Biosignatures on Temperate Sub-Neptune Waterworlds
Biogenic Sulfur Gases as Biosignatures on Temperate Sub-Neptune WaterworldsBiogenic Sulfur Gases as Biosignatures on Temperate Sub-Neptune Waterworlds
Biogenic Sulfur Gases as Biosignatures on Temperate Sub-Neptune WaterworldsSérgio Sacani
 
pumpkin fruit fly, water melon fruit fly, cucumber fruit fly
pumpkin fruit fly, water melon fruit fly, cucumber fruit flypumpkin fruit fly, water melon fruit fly, cucumber fruit fly
pumpkin fruit fly, water melon fruit fly, cucumber fruit flyPRADYUMMAURYA1
 
FAIRSpectra - Enabling the FAIRification of Spectroscopy and Spectrometry
FAIRSpectra - Enabling the FAIRification of Spectroscopy and SpectrometryFAIRSpectra - Enabling the FAIRification of Spectroscopy and Spectrometry
FAIRSpectra - Enabling the FAIRification of Spectroscopy and SpectrometryAlex Henderson
 
Locating and isolating a gene, FISH, GISH, Chromosome walking and jumping, te...
Locating and isolating a gene, FISH, GISH, Chromosome walking and jumping, te...Locating and isolating a gene, FISH, GISH, Chromosome walking and jumping, te...
Locating and isolating a gene, FISH, GISH, Chromosome walking and jumping, te...Silpa
 
Proteomics: types, protein profiling steps etc.
Proteomics: types, protein profiling steps etc.Proteomics: types, protein profiling steps etc.
Proteomics: types, protein profiling steps etc.Silpa
 
GBSN - Microbiology (Unit 2)
GBSN - Microbiology (Unit 2)GBSN - Microbiology (Unit 2)
GBSN - Microbiology (Unit 2)Areesha Ahmad
 
GBSN - Microbiology (Unit 3)
GBSN - Microbiology (Unit 3)GBSN - Microbiology (Unit 3)
GBSN - Microbiology (Unit 3)Areesha Ahmad
 
COST ESTIMATION FOR A RESEARCH PROJECT.pptx
COST ESTIMATION FOR A RESEARCH PROJECT.pptxCOST ESTIMATION FOR A RESEARCH PROJECT.pptx
COST ESTIMATION FOR A RESEARCH PROJECT.pptxFarihaAbdulRasheed
 
Pests of mustard_Identification_Management_Dr.UPR.pdf
Pests of mustard_Identification_Management_Dr.UPR.pdfPests of mustard_Identification_Management_Dr.UPR.pdf
Pests of mustard_Identification_Management_Dr.UPR.pdfPirithiRaju
 
Feature-aligned N-BEATS with Sinkhorn divergence (ICLR '24)
Feature-aligned N-BEATS with Sinkhorn divergence (ICLR '24)Feature-aligned N-BEATS with Sinkhorn divergence (ICLR '24)
Feature-aligned N-BEATS with Sinkhorn divergence (ICLR '24)Joonhun Lee
 
Justdial Call Girls In Indirapuram, Ghaziabad, 8800357707 Escorts Service
Justdial Call Girls In Indirapuram, Ghaziabad, 8800357707 Escorts ServiceJustdial Call Girls In Indirapuram, Ghaziabad, 8800357707 Escorts Service
Justdial Call Girls In Indirapuram, Ghaziabad, 8800357707 Escorts Servicemonikaservice1
 
Vip profile Call Girls In Lonavala 9748763073 For Genuine Sex Service At Just...
Vip profile Call Girls In Lonavala 9748763073 For Genuine Sex Service At Just...Vip profile Call Girls In Lonavala 9748763073 For Genuine Sex Service At Just...
Vip profile Call Girls In Lonavala 9748763073 For Genuine Sex Service At Just...Monika Rani
 
PSYCHOSOCIAL NEEDS. in nursing II sem pptx
PSYCHOSOCIAL NEEDS. in nursing II sem pptxPSYCHOSOCIAL NEEDS. in nursing II sem pptx
PSYCHOSOCIAL NEEDS. in nursing II sem pptxSuji236384
 

Recently uploaded (20)

Introduction,importance and scope of horticulture.pptx
Introduction,importance and scope of horticulture.pptxIntroduction,importance and scope of horticulture.pptx
Introduction,importance and scope of horticulture.pptx
 
Formation of low mass protostars and their circumstellar disks
Formation of low mass protostars and their circumstellar disksFormation of low mass protostars and their circumstellar disks
Formation of low mass protostars and their circumstellar disks
 
Kochi ❤CALL GIRL 84099*07087 ❤CALL GIRLS IN Kochi ESCORT SERVICE❤CALL GIRL
Kochi ❤CALL GIRL 84099*07087 ❤CALL GIRLS IN Kochi ESCORT SERVICE❤CALL GIRLKochi ❤CALL GIRL 84099*07087 ❤CALL GIRLS IN Kochi ESCORT SERVICE❤CALL GIRL
Kochi ❤CALL GIRL 84099*07087 ❤CALL GIRLS IN Kochi ESCORT SERVICE❤CALL GIRL
 
Call Girls Alandi Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Alandi Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Alandi Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Alandi Call Me 7737669865 Budget Friendly No Advance Booking
 
dkNET Webinar "Texera: A Scalable Cloud Computing Platform for Sharing Data a...
dkNET Webinar "Texera: A Scalable Cloud Computing Platform for Sharing Data a...dkNET Webinar "Texera: A Scalable Cloud Computing Platform for Sharing Data a...
dkNET Webinar "Texera: A Scalable Cloud Computing Platform for Sharing Data a...
 
Bacterial Identification and Classifications
Bacterial Identification and ClassificationsBacterial Identification and Classifications
Bacterial Identification and Classifications
 
Biogenic Sulfur Gases as Biosignatures on Temperate Sub-Neptune Waterworlds
Biogenic Sulfur Gases as Biosignatures on Temperate Sub-Neptune WaterworldsBiogenic Sulfur Gases as Biosignatures on Temperate Sub-Neptune Waterworlds
Biogenic Sulfur Gases as Biosignatures on Temperate Sub-Neptune Waterworlds
 
pumpkin fruit fly, water melon fruit fly, cucumber fruit fly
pumpkin fruit fly, water melon fruit fly, cucumber fruit flypumpkin fruit fly, water melon fruit fly, cucumber fruit fly
pumpkin fruit fly, water melon fruit fly, cucumber fruit fly
 
FAIRSpectra - Enabling the FAIRification of Spectroscopy and Spectrometry
FAIRSpectra - Enabling the FAIRification of Spectroscopy and SpectrometryFAIRSpectra - Enabling the FAIRification of Spectroscopy and Spectrometry
FAIRSpectra - Enabling the FAIRification of Spectroscopy and Spectrometry
 
Locating and isolating a gene, FISH, GISH, Chromosome walking and jumping, te...
Locating and isolating a gene, FISH, GISH, Chromosome walking and jumping, te...Locating and isolating a gene, FISH, GISH, Chromosome walking and jumping, te...
Locating and isolating a gene, FISH, GISH, Chromosome walking and jumping, te...
 
Proteomics: types, protein profiling steps etc.
Proteomics: types, protein profiling steps etc.Proteomics: types, protein profiling steps etc.
Proteomics: types, protein profiling steps etc.
 
GBSN - Microbiology (Unit 2)
GBSN - Microbiology (Unit 2)GBSN - Microbiology (Unit 2)
GBSN - Microbiology (Unit 2)
 
GBSN - Microbiology (Unit 3)
GBSN - Microbiology (Unit 3)GBSN - Microbiology (Unit 3)
GBSN - Microbiology (Unit 3)
 
COST ESTIMATION FOR A RESEARCH PROJECT.pptx
COST ESTIMATION FOR A RESEARCH PROJECT.pptxCOST ESTIMATION FOR A RESEARCH PROJECT.pptx
COST ESTIMATION FOR A RESEARCH PROJECT.pptx
 
Pests of mustard_Identification_Management_Dr.UPR.pdf
Pests of mustard_Identification_Management_Dr.UPR.pdfPests of mustard_Identification_Management_Dr.UPR.pdf
Pests of mustard_Identification_Management_Dr.UPR.pdf
 
Feature-aligned N-BEATS with Sinkhorn divergence (ICLR '24)
Feature-aligned N-BEATS with Sinkhorn divergence (ICLR '24)Feature-aligned N-BEATS with Sinkhorn divergence (ICLR '24)
Feature-aligned N-BEATS with Sinkhorn divergence (ICLR '24)
 
Clean In Place(CIP).pptx .
Clean In Place(CIP).pptx                 .Clean In Place(CIP).pptx                 .
Clean In Place(CIP).pptx .
 
Justdial Call Girls In Indirapuram, Ghaziabad, 8800357707 Escorts Service
Justdial Call Girls In Indirapuram, Ghaziabad, 8800357707 Escorts ServiceJustdial Call Girls In Indirapuram, Ghaziabad, 8800357707 Escorts Service
Justdial Call Girls In Indirapuram, Ghaziabad, 8800357707 Escorts Service
 
Vip profile Call Girls In Lonavala 9748763073 For Genuine Sex Service At Just...
Vip profile Call Girls In Lonavala 9748763073 For Genuine Sex Service At Just...Vip profile Call Girls In Lonavala 9748763073 For Genuine Sex Service At Just...
Vip profile Call Girls In Lonavala 9748763073 For Genuine Sex Service At Just...
 
PSYCHOSOCIAL NEEDS. in nursing II sem pptx
PSYCHOSOCIAL NEEDS. in nursing II sem pptxPSYCHOSOCIAL NEEDS. in nursing II sem pptx
PSYCHOSOCIAL NEEDS. in nursing II sem pptx
 

DECODER AND ENCODER (1).pptx

  • 3. DECODER  The combinational circuit that change the binary information into 2N output lines is known as Decoders.  The binary information is passed in the form of N input lines. The output lines define the 2N-bit code for the binary information.
  • 6. 2 TO 4 LINE DECODER  In the 2 to 4 line decoder, there is a total of three inputs, i.e., A0, and A1 and E and four outputs, i.e., Y0, Y1, Y2, and Y3.  For each combination of inputs, when the enable 'E' is set to 1, one of these four outputs will be 1.
  • 7. BLOCK DIAGRAM LOGICAL EXPRESSION  Y3=E.A1.A0  Y2=E.A1.A0'  Y1=E.A1'.A0  Y0=E.A1'.A0'
  • 10. 3 TO 8 LINE DECODER  The 3 to 8 line decoder is also known as Binary to Octal Decoder.  In a 3 to 8 line decoder, there is a total of eight outputs, i.e., Y0, Y1, Y2, Y3, Y4, Y5, Y6, and Y7 and three outputs, i.e., A0, A1, and A2.  This circuit has an enable input 'E'. Just like 2 to 4 line decoder, when enable 'E' is set to 1, one of these four outputs will be 1.
  • 11. BLOCK DIAGRAM LOGICAL EXPRESSION  Y0=A0'.A1'.A2'  Y1=A0.A1'.A2'  Y2=A0'.A1.A2'  Y3=A0.A1.A2'  Y4=A0'.A1'.A2  Y5=A0.A1'.A2  Y6=A0'.A1.A2  Y7=A0.A1.A2
  • 14. 4 TO 16 LINE DECODER  In the 4 to 16 line decoder, there is a total of 16 outputs, i.e., Y0, Y1, Y2,……, Y16 and four inputs, i.e., A0, A1, A2, and A3.  The 3 to 16 line decoder can be constructed using either 2 to 4 decoder or 3 to 8 decoder. Required number of lower order decoders=m2/m1 m1 = 8 m2 = 16 Required number of 3 to 8 decoders=Decoder=2
  • 15. BLOCK DIAGRAM LOGICAL EXPRESSION Y0=A0'.A1'.A2'.A3' Y8=A0.A1'.A2'.A3' Y1=A0'.A1'.A2'.A3 Y9=A0.A1'.A2'.A3 Y2=A0'.A1'.A2.A3' Y10=A0.A1'.A2.A3' Y3=A0'.A1'.A2.A3 Y11=A0.A1'.A2.A3 Y4=A0'.A1.A2'.A3’ Y12=A0.A1.A2'.A3' Y5=A0'.A1.A2'.A3 Y13=A0.A1.A2'.A3 Y6=A0'.A1.A2.A3' Y14=A0.A1.A2.A3' Y7=A0'.A1.A2.A3 Y15=A0.A1.A2'.A3
  • 18. ENCODER  The combinational circuits that change the binary information into N output lines are known as Encoders.  The binary information is passed in the form of 2N input lines. The output lines define the N-bit code for the binary information.
  • 21. 4 TO 2 LINE ENCODER  In 4 to 2 line encoder, there are total of four inputs, i.e., Y0, Y1, Y2, and Y3, and two outputs, i.e., A0 and A1.  In 4-input lines, one input-line is set to true at a time to get the respective binary code in the output side.
  • 22. BLOCK DIAGRAM LOGIC EXPRESSION  A1=Y3+Y2  A0=Y3+Y1
  • 25. 8 TO 3 LINE ENCODER  The 8 to 3 line Encoder is also known as Octal to Binary Encoder.  In 8 to 3 line encoder, there is a total of eight inputs, i.e., Y0, Y1, Y2, Y3, Y4, Y5, Y6, and Y7 and three outputs, i.e., A0, A1, and A2. In 8-input lines, one input-line is set to true at a time to get the respective binary code in the output side.
  • 26. BLOCK DIAGRAM LOGIC EXPRESSION  A2=Y4+Y5+Y6+Y7  A1=Y2+Y3+Y6+Y7  A0=Y7+Y5+Y3+Y1
  • 29. DECIMAL TO BCD ENCODER  The Octal to Binary Encoder is also known as 10 to 4 line Encoder.  In 10 to 4 line encoder, there are total of ten inputs, i.e., Y0, Y1, Y2, Y3, Y4, Y5, Y6, Y7, Y8, and Y9 and four outputs, i.e., A0, A1, A2, and A3.  In 10-input lines, one input-line is set to true at a time to get the respective BCD code in the output side.
  • 30. BLOCK DIAGRAM LOGIC EXPRESSION  A3 = Y9 + Y8  A2 = Y7 + Y6 + Y5 +Y4  A1 = Y7 + Y6 + Y3 +Y2  A0 = Y9 + Y7 +Y5 +Y3 + Y1
  • 33. PRIORITY ENCODER  The Priority Encoder is also known as 4 to 2 line Priority Encoder:  In this priority encoder, there are total of 4 inputs, i.e., Y0, Y1, Y2, and Y3, and two outputs, i.e., A0 and A1. The Y3 has high and Y0 has low priority inputs.  When more than one input is '1' at the same time, the output will be the (binary) code corresponding to the higher priority input.
  • 35. The logical expression of the term A0 and A1 can be found using K-map as: