SlideShare a Scribd company logo
Encoders and decoders
ENCODERS
•An encoder is a device, circuit,
transducer, software program,
algorithm or person that converts
information from one format or code to
another. The purpose of encoder is
standardization, speed, secrecy,
security, or saving space by shrinking
size. They accept one or more inputs
and generate a multibit output code.
An encoder is a combinational logic circuit that
generate n output lines from 2n (or less) inputs. It has
the reverse function of the decoder.
ADVANTAGES
•To store more data in a given space
•To send more data from source to
destination.
•To detect the errors easily.
ENCODER WITH ENABLE INPUT
}
}
E= 1 Start Encoding (Enable the circuit)
E= 0 No Operation (Disable the circuit
E= 0 Start Encoding (Enable the circuit)
E= 1 No Operation (Disable the circuit
DECIMAL TO BCD ENCODER
LOGIC EQUATION LOGIC DIAGRAM
TYPES OF ENCODER
SIMPLE ENCODER
1.) 4 BY 2 ENCODER
TRUTH TABLE
LOGICAL EXPRESSION
• A = Y2 + Y3
• B = Y1 + Y3
LOGIC DIAGRAM
2.) 8 BY 3 ENCODER
OCTAL TO BINARY ENCODER
TRUTH TABLE
LOGICAL
EXPRESSION
A = D1 + D3 + D5 + D7
B= D2 + D3 + D6 + D7
C = D4 + D5 + D6 +D7
LOGIC DIAGRAM
PRIORITY ENCODER
• Has more than 1 input which is activated based on priority,
meaning it is used to control interrupt request by acting
according to highest priority.
valid bit indicator
TRUTH TABLE
LOGIC EQUATION
• K-MAP
• A= D2 + D3
• B= D3 + D1D2
• V= D0 + D1 + D2 + D3
LOGIC DIAGRAM
8 BY 3 ENCODER
EXAMPLE:
EXAMPLE:
DECODER
• The process of taking some type of code and determining what it
represents in terms of a recognizable number or character is called
decoding. A decoder is a combinational logic circuit that performs
the decoding function, and produce an output that indicates the
(meaning) of the input code.
• The decoder is called n to m where m < 2n for example two to four
line decoder,
• Fig. (1) shows a two to four line decoder and its truth table.
LOGIC DIAGRAM
THE BCD DECODER
• The BCD decoder converts each BCD code (8421) into one of ten possible
decimal digit indications. It is typically referred to as a 1 of 10 or 4 to 10
lines decoder, although other types of decoder also fall into this category
(such as an Execs – 3 decoder). A list of the ten BCD code words and their
corresponding decoding functions is shown in Table (2). Each of these
decoding functions is implemented with NAND gates to provide active LOW
outputs, as shown in Fig. (2)
• The 7442 is an integrated circuit BCD to Decimal decoder. Note
that on this device the inputs are A, B, C, and D where A is the
least significant bit.
THANK YOU!

More Related Content

What's hot (20)

PPT
KARNAUGH MAP(K-MAP)
mihir jain
 
PPTX
Encoder and decoder
Then Murugeshwari
 
PDF
Combinational and sequential logic
Deepak John
 
PPTX
full subtractor
Amodh Pandey
 
PPTX
Combinational circuits
DrSonali Vyas
 
PPT
Combinational circuits
SARITHA REDDY
 
PDF
Sop and pos
shubhamprajapat23
 
PDF
Subtractor
Syed Saeed
 
PPTX
Dlc{binary to gray code conversion} ppt
Tanish Gupta
 
PDF
Magnitude comparator
Syed Saeed
 
PPT
Combinational circuits
Jamnas Mundakkutty A
 
PPTX
Simplification of Boolean Functions
Sikder Tahsin Al-Amin
 
PPTX
Assembly Language
Ibrahimcommunication Al Ani
 
PPT
Arithmetic circuits
Sanjay Saluth
 
PPTX
Design half ,full Adder and Subtractor
[email protected].
 
PPTX
quine mc cluskey method
Unsa Shakir
 
PPTX
Presentation On Logic Gate
Nazrul Islam
 
PPTX
NAND and NOR implementation and Other two level implementation
Muhammad Akhtar
 
PPTX
Decoders-Digital Electronics
Paurav Shah
 
PPT
Sequential Logic Circuit
Ramasubbu .P
 
KARNAUGH MAP(K-MAP)
mihir jain
 
Encoder and decoder
Then Murugeshwari
 
Combinational and sequential logic
Deepak John
 
full subtractor
Amodh Pandey
 
Combinational circuits
DrSonali Vyas
 
Combinational circuits
SARITHA REDDY
 
Sop and pos
shubhamprajapat23
 
Subtractor
Syed Saeed
 
Dlc{binary to gray code conversion} ppt
Tanish Gupta
 
Magnitude comparator
Syed Saeed
 
Combinational circuits
Jamnas Mundakkutty A
 
Simplification of Boolean Functions
Sikder Tahsin Al-Amin
 
Assembly Language
Ibrahimcommunication Al Ani
 
Arithmetic circuits
Sanjay Saluth
 
Design half ,full Adder and Subtractor
[email protected].
 
quine mc cluskey method
Unsa Shakir
 
Presentation On Logic Gate
Nazrul Islam
 
NAND and NOR implementation and Other two level implementation
Muhammad Akhtar
 
Decoders-Digital Electronics
Paurav Shah
 
Sequential Logic Circuit
Ramasubbu .P
 

Similar to Encoders and decoders (20)

PPT
Chapter 4 combinational circuit
GulAhmad16
 
PPT
11.ppt
GulAhmad16
 
PPT
Lcdf4 chap 03_p2
ozgur_can
 
PPTX
ATT SMK.pptx
MadhavKarve
 
PPTX
Presentation1DigitalTechniquesMSBTEImportantnotes
KrupaSawarkar
 
PPTX
co-5.pptx mca online ist sem computer organization
jayarellirs
 
PPTX
Decoders decoderand design with their.pptx
ssuser67a684
 
PPTX
LOGIC DECODERS and MULTI.pptx
HazardRhenz1
 
PPT
Week_7_and_8_-_Lecture_2_of_3-_Decoders_and_Encoders1.ppt
TitosseMoisesFelix1
 
PDF
Presentation123 DigitalTechniguesPDF.pdf
KrupaSawarkar
 
PDF
FYBSC IT Digital Electronics Unit IV Chapter I Multiplexer, Demultiplexer, AL...
Arti Parab Academics
 
PPTX
MAGNITUDE COMPARATOR & DECODER
Usama ahmad
 
PPTX
Combinational circuit
sabina deshar
 
PPSX
Decoders
Govind T
 
PDF
Chapter 06 Combinational Logic Functions
SSE_AndyLi
 
PPTX
DPCO.ppt.pptxrtdgdggffgddfdddfffffffffffffffffffff
MrASSASSIN
 
PDF
Convolution codes - Coding/Decoding Tree codes and Trellis codes for multiple...
Madhumita Tamhane
 
PPT
STLD-Combinational logic design
Abhinay Potlabathini
 
PPT
Turbo Codes
vasanth_mtech
 
PPTX
decoders121-170714184489769876987698749.pptx
tlap4412
 
Chapter 4 combinational circuit
GulAhmad16
 
11.ppt
GulAhmad16
 
Lcdf4 chap 03_p2
ozgur_can
 
ATT SMK.pptx
MadhavKarve
 
Presentation1DigitalTechniquesMSBTEImportantnotes
KrupaSawarkar
 
co-5.pptx mca online ist sem computer organization
jayarellirs
 
Decoders decoderand design with their.pptx
ssuser67a684
 
LOGIC DECODERS and MULTI.pptx
HazardRhenz1
 
Week_7_and_8_-_Lecture_2_of_3-_Decoders_and_Encoders1.ppt
TitosseMoisesFelix1
 
Presentation123 DigitalTechniguesPDF.pdf
KrupaSawarkar
 
FYBSC IT Digital Electronics Unit IV Chapter I Multiplexer, Demultiplexer, AL...
Arti Parab Academics
 
MAGNITUDE COMPARATOR & DECODER
Usama ahmad
 
Combinational circuit
sabina deshar
 
Decoders
Govind T
 
Chapter 06 Combinational Logic Functions
SSE_AndyLi
 
DPCO.ppt.pptxrtdgdggffgddfdddfffffffffffffffffffff
MrASSASSIN
 
Convolution codes - Coding/Decoding Tree codes and Trellis codes for multiple...
Madhumita Tamhane
 
STLD-Combinational logic design
Abhinay Potlabathini
 
Turbo Codes
vasanth_mtech
 
decoders121-170714184489769876987698749.pptx
tlap4412
 
Ad

Recently uploaded (20)

PDF
CIFDAQ's Market Wrap : Bears Back in Control?
CIFDAQ
 
PDF
RAT Builders - How to Catch Them All [DeepSec 2024]
malmoeb
 
PDF
Researching The Best Chat SDK Providers in 2025
Ray Fields
 
PDF
Generative AI vs Predictive AI-The Ultimate Comparison Guide
Lily Clark
 
PDF
AI Unleashed - Shaping the Future -Starting Today - AIOUG Yatra 2025 - For Co...
Sandesh Rao
 
PPTX
Agentic AI in Healthcare Driving the Next Wave of Digital Transformation
danielle hunter
 
PDF
Per Axbom: The spectacular lies of maps
Nexer Digital
 
PPTX
OA presentation.pptx OA presentation.pptx
pateldhruv002338
 
PPTX
Applied-Statistics-Mastering-Data-Driven-Decisions.pptx
parmaryashparmaryash
 
PDF
How Open Source Changed My Career by abdelrahman ismail
a0m0rajab1
 
PPTX
Dev Dives: Automate, test, and deploy in one place—with Unified Developer Exp...
AndreeaTom
 
PPTX
What-is-the-World-Wide-Web -- Introduction
tonifi9488
 
PDF
GDG Cloud Munich - Intro - Luiz Carneiro - #BuildWithAI - July - Abdel.pdf
Luiz Carneiro
 
PDF
NewMind AI Weekly Chronicles – July’25, Week III
NewMind AI
 
PPTX
Agile Chennai 18-19 July 2025 | Emerging patterns in Agentic AI by Bharani Su...
AgileNetwork
 
PPTX
The Future of AI & Machine Learning.pptx
pritsen4700
 
PPTX
Introduction to Flutter by Ayush Desai.pptx
ayushdesai204
 
PDF
Structs to JSON: How Go Powers REST APIs
Emily Achieng
 
PPTX
cloud computing vai.pptx for the project
vaibhavdobariyal79
 
PPTX
IT Runs Better with ThousandEyes AI-driven Assurance
ThousandEyes
 
CIFDAQ's Market Wrap : Bears Back in Control?
CIFDAQ
 
RAT Builders - How to Catch Them All [DeepSec 2024]
malmoeb
 
Researching The Best Chat SDK Providers in 2025
Ray Fields
 
Generative AI vs Predictive AI-The Ultimate Comparison Guide
Lily Clark
 
AI Unleashed - Shaping the Future -Starting Today - AIOUG Yatra 2025 - For Co...
Sandesh Rao
 
Agentic AI in Healthcare Driving the Next Wave of Digital Transformation
danielle hunter
 
Per Axbom: The spectacular lies of maps
Nexer Digital
 
OA presentation.pptx OA presentation.pptx
pateldhruv002338
 
Applied-Statistics-Mastering-Data-Driven-Decisions.pptx
parmaryashparmaryash
 
How Open Source Changed My Career by abdelrahman ismail
a0m0rajab1
 
Dev Dives: Automate, test, and deploy in one place—with Unified Developer Exp...
AndreeaTom
 
What-is-the-World-Wide-Web -- Introduction
tonifi9488
 
GDG Cloud Munich - Intro - Luiz Carneiro - #BuildWithAI - July - Abdel.pdf
Luiz Carneiro
 
NewMind AI Weekly Chronicles – July’25, Week III
NewMind AI
 
Agile Chennai 18-19 July 2025 | Emerging patterns in Agentic AI by Bharani Su...
AgileNetwork
 
The Future of AI & Machine Learning.pptx
pritsen4700
 
Introduction to Flutter by Ayush Desai.pptx
ayushdesai204
 
Structs to JSON: How Go Powers REST APIs
Emily Achieng
 
cloud computing vai.pptx for the project
vaibhavdobariyal79
 
IT Runs Better with ThousandEyes AI-driven Assurance
ThousandEyes
 
Ad

Encoders and decoders

  • 2. ENCODERS •An encoder is a device, circuit, transducer, software program, algorithm or person that converts information from one format or code to another. The purpose of encoder is standardization, speed, secrecy, security, or saving space by shrinking size. They accept one or more inputs and generate a multibit output code.
  • 3. An encoder is a combinational logic circuit that generate n output lines from 2n (or less) inputs. It has the reverse function of the decoder.
  • 4. ADVANTAGES •To store more data in a given space •To send more data from source to destination. •To detect the errors easily.
  • 5. ENCODER WITH ENABLE INPUT } } E= 1 Start Encoding (Enable the circuit) E= 0 No Operation (Disable the circuit E= 0 Start Encoding (Enable the circuit) E= 1 No Operation (Disable the circuit
  • 6. DECIMAL TO BCD ENCODER
  • 8. TYPES OF ENCODER SIMPLE ENCODER 1.) 4 BY 2 ENCODER
  • 10. LOGICAL EXPRESSION • A = Y2 + Y3 • B = Y1 + Y3 LOGIC DIAGRAM
  • 11. 2.) 8 BY 3 ENCODER OCTAL TO BINARY ENCODER TRUTH TABLE LOGICAL EXPRESSION A = D1 + D3 + D5 + D7 B= D2 + D3 + D6 + D7 C = D4 + D5 + D6 +D7
  • 13. PRIORITY ENCODER • Has more than 1 input which is activated based on priority, meaning it is used to control interrupt request by acting according to highest priority. valid bit indicator
  • 15. LOGIC EQUATION • K-MAP • A= D2 + D3 • B= D3 + D1D2 • V= D0 + D1 + D2 + D3
  • 17. 8 BY 3 ENCODER
  • 20. DECODER • The process of taking some type of code and determining what it represents in terms of a recognizable number or character is called decoding. A decoder is a combinational logic circuit that performs the decoding function, and produce an output that indicates the (meaning) of the input code. • The decoder is called n to m where m < 2n for example two to four line decoder,
  • 21. • Fig. (1) shows a two to four line decoder and its truth table.
  • 23. THE BCD DECODER • The BCD decoder converts each BCD code (8421) into one of ten possible decimal digit indications. It is typically referred to as a 1 of 10 or 4 to 10 lines decoder, although other types of decoder also fall into this category (such as an Execs – 3 decoder). A list of the ten BCD code words and their corresponding decoding functions is shown in Table (2). Each of these decoding functions is implemented with NAND gates to provide active LOW outputs, as shown in Fig. (2)
  • 24. • The 7442 is an integrated circuit BCD to Decimal decoder. Note that on this device the inputs are A, B, C, and D where A is the least significant bit.