SlideShare a Scribd company logo
2
Most read
3
Most read
4
Most read
Encoders
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. In simple words,
the Encoder performs the reverse operation of the Decoder. At a time, only one
input line is activated for simplicity. The produced N-bit output code is equivalent to
the binary information.
There are various types of encoders which are as follows:
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. Below are the block diagram and the
truth table of the 4 to 2 line encoder.
Block Diagram:
Truth Table:
The logical expression of the term A0 and A1 is as follows:
A1=Y3+Y2
A0=Y3+Y1
Logical circuit of the above expressions is given below:
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. Below are the block
diagram and the truth table of the 8 to 3 line encoder.
Block Diagram:
Truth Table:
The logical expression of the term A0, A1, and A2 are as follows:
A2=Y4+Y5+Y6+Y7
A1=Y2+Y3+Y6+Y7
A0=Y7+Y5+Y3+Y1
Logical circuit of the above expressions is given below:
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. The block diagram and
the truth table of the decimal to BCD encoder are given below.
Block Diagram:
Truth Table:
The logical expression of the term A0, A1, A2, and A3 is as follows:
A3 = Y9 + Y8
A2 = Y7 + Y6 + Y5 +Y4
A1 = Y7 + Y6 + Y3 +Y2
A0 = Y9 + Y7 +Y5 +Y3 + Y1
Logical circuit of the above expressions is given below:
Priority Encoder:
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. Below is the truth table of the 4 to 2 line
priority encoder.
Truth Table:
The logical expression of the term A0 and A1 can be found using K-map as:
A1=Y3+Y2
A0=Y3+Y2'.Y1
Logical circuit of the above expressions is given below:
Uses of Encoders:
1. These systems are very easy to use in all digital systems.
2. Encoders are used to convert a decimal number into the binary number. The
objective is to perform a binary operation such as addition, subtraction,
multiplication, etc.

More Related Content

PPTX
Dynamic programming
PDF
Design and analysis of algorithms
PPTX
Performance analysis(Time & Space Complexity)
PDF
final-ppts-daa-unit-iii-greedy-method.pdf
DOC
Matlab file
PPTX
Knapsack problem using greedy approach
PDF
Daa notes 1
PPTX
Huffman Coding Algorithm Presentation
Dynamic programming
Design and analysis of algorithms
Performance analysis(Time & Space Complexity)
final-ppts-daa-unit-iii-greedy-method.pdf
Matlab file
Knapsack problem using greedy approach
Daa notes 1
Huffman Coding Algorithm Presentation

What's hot (20)

PPT
Instance Based Learning in Machine Learning
PPTX
sum of subset problem using Backtracking
PPTX
Unsupervised learning networks
PPT
Randomized algorithms ver 1.0
PPTX
Introduction to Dynamic Programming, Principle of Optimality
PPTX
8 QUEENS PROBLEM.pptx
DOC
Infix to-postfix examples
PPTX
Elements of Dynamic Programming
PPTX
PPTX
Associative memory network
PPT
Floyd Warshall Algorithm
PPT
DOCX
Advanced data structures & algorithms important questions
PDF
Lab report for Prolog program in artificial intelligence.
PPTX
P np & np completeness
PPT
Python modules
PPTX
NP Complete Problems
PPTX
ML_ Unit_1_PART_A
PPTX
03 Single layer Perception Classifier
Instance Based Learning in Machine Learning
sum of subset problem using Backtracking
Unsupervised learning networks
Randomized algorithms ver 1.0
Introduction to Dynamic Programming, Principle of Optimality
8 QUEENS PROBLEM.pptx
Infix to-postfix examples
Elements of Dynamic Programming
Associative memory network
Floyd Warshall Algorithm
Advanced data structures & algorithms important questions
Lab report for Prolog program in artificial intelligence.
P np & np completeness
Python modules
NP Complete Problems
ML_ Unit_1_PART_A
03 Single layer Perception Classifier
Ad

Similar to Computer Architecture_Encoders NOTES.docx (20)

DOCX
Computer Architecture_Decoder NOTES.docx
PPTX
Encoder.pptx
PPTX
Decoders
PPTX
DECODER AND ENCODER (1).pptx
PPTX
B sc3 unit 4 combi..lckt
PDF
Combinational Circuits PPT.pdf
PDF
Lecture 8 Decoders & Encoders (combinational circuits)
PPTX
Switching theory unit 2
PDF
Encoder_decoder_si.pdf
PPTX
Octal to binary encoder
PPTX
Presentation1DigitalTechniquesMSBTEImportantnotes
PDF
Sajib 201-15-3773-encoder
PDF
Combinational Circuits - II (Encoders, Decoders, Multiplexers & PIDs).pdf
PPTX
Combinational Circuits.pptx
PDF
Chapter-04.pdf
PPTX
Unit 4 combinational circuit
PPTX
What is a decoder and 2 to 4 DECODER
PDF
digital-electronics_9 encoder and decoder pdf
PDF
digital-electronics_9 encoder and decoder pdf
PDF
Lecture6 Chapter1- ASCII Code, Error Detection and Correction Codes, and Bina...
Computer Architecture_Decoder NOTES.docx
Encoder.pptx
Decoders
DECODER AND ENCODER (1).pptx
B sc3 unit 4 combi..lckt
Combinational Circuits PPT.pdf
Lecture 8 Decoders & Encoders (combinational circuits)
Switching theory unit 2
Encoder_decoder_si.pdf
Octal to binary encoder
Presentation1DigitalTechniquesMSBTEImportantnotes
Sajib 201-15-3773-encoder
Combinational Circuits - II (Encoders, Decoders, Multiplexers & PIDs).pdf
Combinational Circuits.pptx
Chapter-04.pdf
Unit 4 combinational circuit
What is a decoder and 2 to 4 DECODER
digital-electronics_9 encoder and decoder pdf
digital-electronics_9 encoder and decoder pdf
Lecture6 Chapter1- ASCII Code, Error Detection and Correction Codes, and Bina...
Ad

Recently uploaded (20)

PDF
advance database management system book.pdf
PDF
Practical Manual AGRO-233 Principles and Practices of Natural Farming
PDF
ChatGPT for Dummies - Pam Baker Ccesa007.pdf
PDF
1_English_Language_Set_2.pdf probationary
PPTX
Computer Architecture Input Output Memory.pptx
PPTX
20th Century Theater, Methods, History.pptx
PDF
What if we spent less time fighting change, and more time building what’s rig...
PDF
احياء السادس العلمي - الفصل الثالث (التكاثر) منهج متميزين/كلية بغداد/موهوبين
PDF
Hazard Identification & Risk Assessment .pdf
PDF
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
PDF
Indian roads congress 037 - 2012 Flexible pavement
PDF
Chinmaya Tiranga quiz Grand Finale.pdf
PDF
Computing-Curriculum for Schools in Ghana
PPTX
History, Philosophy and sociology of education (1).pptx
PDF
HVAC Specification 2024 according to central public works department
PDF
Empowerment Technology for Senior High School Guide
PPTX
Share_Module_2_Power_conflict_and_negotiation.pptx
PDF
Τίμαιος είναι φιλοσοφικός διάλογος του Πλάτωνα
PDF
BP 704 T. NOVEL DRUG DELIVERY SYSTEMS (UNIT 1)
PDF
FORM 1 BIOLOGY MIND MAPS and their schemes
advance database management system book.pdf
Practical Manual AGRO-233 Principles and Practices of Natural Farming
ChatGPT for Dummies - Pam Baker Ccesa007.pdf
1_English_Language_Set_2.pdf probationary
Computer Architecture Input Output Memory.pptx
20th Century Theater, Methods, History.pptx
What if we spent less time fighting change, and more time building what’s rig...
احياء السادس العلمي - الفصل الثالث (التكاثر) منهج متميزين/كلية بغداد/موهوبين
Hazard Identification & Risk Assessment .pdf
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
Indian roads congress 037 - 2012 Flexible pavement
Chinmaya Tiranga quiz Grand Finale.pdf
Computing-Curriculum for Schools in Ghana
History, Philosophy and sociology of education (1).pptx
HVAC Specification 2024 according to central public works department
Empowerment Technology for Senior High School Guide
Share_Module_2_Power_conflict_and_negotiation.pptx
Τίμαιος είναι φιλοσοφικός διάλογος του Πλάτωνα
BP 704 T. NOVEL DRUG DELIVERY SYSTEMS (UNIT 1)
FORM 1 BIOLOGY MIND MAPS and their schemes

Computer Architecture_Encoders NOTES.docx

  • 1. Encoders 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. In simple words, the Encoder performs the reverse operation of the Decoder. At a time, only one input line is activated for simplicity. The produced N-bit output code is equivalent to the binary information. There are various types of encoders which are as follows: 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. Below are the block diagram and the truth table of the 4 to 2 line encoder. Block Diagram:
  • 2. Truth Table: The logical expression of the term A0 and A1 is as follows: A1=Y3+Y2 A0=Y3+Y1 Logical circuit of the above expressions is given below: 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. Below are the block diagram and the truth table of the 8 to 3 line encoder.
  • 3. Block Diagram: Truth Table: The logical expression of the term A0, A1, and A2 are as follows: A2=Y4+Y5+Y6+Y7 A1=Y2+Y3+Y6+Y7 A0=Y7+Y5+Y3+Y1 Logical circuit of the above expressions is given below:
  • 4. 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. The block diagram and the truth table of the decimal to BCD encoder are given below.
  • 5. Block Diagram: Truth Table: The logical expression of the term A0, A1, A2, and A3 is as follows: A3 = Y9 + Y8 A2 = Y7 + Y6 + Y5 +Y4 A1 = Y7 + Y6 + Y3 +Y2 A0 = Y9 + Y7 +Y5 +Y3 + Y1 Logical circuit of the above expressions is given below:
  • 6. Priority Encoder: 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. Below is the truth table of the 4 to 2 line priority encoder. Truth Table:
  • 7. The logical expression of the term A0 and A1 can be found using K-map as: A1=Y3+Y2 A0=Y3+Y2'.Y1 Logical circuit of the above expressions is given below:
  • 8. Uses of Encoders: 1. These systems are very easy to use in all digital systems. 2. Encoders are used to convert a decimal number into the binary number. The objective is to perform a binary operation such as addition, subtraction, multiplication, etc.