際際滷

際際滷Share a Scribd company logo
Welcome to My presentation
NAME : Ashikull moula
ID : 193002074
Topic : Encoder
Department: CSE
Green university of Bangladesh
What is Encoder
 The encoder is a combinational circuit that performs the reverse
operation of the decoder. The encoder has a maximum of 2n inputs and
n outputs.
 The simplest encoder is a 2n-to-n binary encoder
 One of 2ninputs = 1
 Output is an n-bit binary number
Encoders vs. Decoders
 n-to-2n
 Input code : Binary Code
 Input code : 1-out-of-2n.
 2n -to-n encoder
 Output code :1-out-of-2n.
 Output code : Binary Code
Binary decoders/encoders
Binary Encoder
 2n-to-n encoder : 2n inputs and n outputs.
 Input code : 1-out-of-2n.
 Output code : Binary Code
 Example : n=3, 8-to-3 encoder
Inputs Outputs
 D0 D1 D2 D3 D4 D5 D6 D7 Q2 Q1 Q0
 1 0 0 0 0 0 0 0 0 0 0
 0 1 0 0 0 0 0 0 0 0 1
 0 0 1 0 0 0 0 0 0 1 0
 0 0 0 1 0 0 0 0 0 1 1
 0 0 0 0 1 0 0 0 1 0 0
 0 0 0 0 0 1 0 0 1 0 1
 0 0 0 0 0 0 1 0 1 1 0
 0 0 0 0 0 0 0 1 1 1 1
8-to-3 encoder Implementation
 2n -to-n encoder : 2n inputs and n outputs.
 Input code : 1-out-of-2n.
 Output code : Binary Code
 Example : n=3, 8-to-3 encode
Inputs Outputs
 D0 D1 D2 D3 D4 D5 D6 D7 Q2 Q1 Q0
 1 0 0 0 0 0 0 0 0 0 0
 0 1 0 0 0 0 0 0 0 0 1
 0 0 1 0 0 0 0 0 0 1 0
 0 0 0 1 0 0 0 0 0 1 1
 0 0 0 0 1 0 0 0 1 0 0
 0 0 0 0 0 1 0 0 1 0 1
 0 0 0 0 0 0 1 0 1 1 0
 0 0 0 0 0 0 0 1 1 1 1
8-to-3 encoder Implementation
 Simplified implementation:
-From the truth table
Q0 = I1 + I3 + I5 + I7
Q1 = I2 + I3 + I6 + I7
Q2 = I4 + I5 + I6 + I7
 Limitations :
-I0 has no effect on the output-Only
one input can be activate
 Application:
Handling multiple devices requests
But, no simultaneous requests
encoder

More Related Content

What's hot (20)

Boolean Function Forms
Boolean Function FormsBoolean Function Forms
Boolean Function Forms
Hashni T
Decoders
DecodersDecoders
Decoders
Re Man
multiplexers and demultiplexers
 multiplexers and demultiplexers multiplexers and demultiplexers
multiplexers and demultiplexers
Unsa Shakir
Encoder
EncoderEncoder
Encoder
SajedAbir
Multiplexers
MultiplexersMultiplexers
Multiplexers
DrSonali Vyas
Register in Digital Logic
Register in Digital LogicRegister in Digital Logic
Register in Digital Logic
ISMT College
3.codes( binary code ,excess 3, gray code )
3.codes( binary code ,excess 3, gray code )3.codes( binary code ,excess 3, gray code )
3.codes( binary code ,excess 3, gray code )
MdFazleRabbi18
Parallel Adder and Subtractor
Parallel Adder and SubtractorParallel Adder and Subtractor
Parallel Adder and Subtractor
Smit Shah
Introduction to multiplexer and demultiplexer
Introduction to multiplexer and demultiplexerIntroduction to multiplexer and demultiplexer
Introduction to multiplexer and demultiplexer
krantikiranmanugarra
Encoders and decoders
Encoders and decodersEncoders and decoders
Encoders and decoders
Gaditek
What is Gray Code?
What is Gray Code? What is Gray Code?
What is Gray Code?
Mukesh Tekwani
Combinational circuits
Combinational circuits Combinational circuits
Combinational circuits
DrSonali Vyas
Counters
CountersCounters
Counters
Ravi Maurya
encoder and decoder in digital electronics
encoder and decoder in digital electronicsencoder and decoder in digital electronics
encoder and decoder in digital electronics
vikram rajpurohit
noise in pcm | Communication Systems
noise in pcm | Communication Systemsnoise in pcm | Communication Systems
noise in pcm | Communication Systems
Learn By Watch
Chapter 4: Combinational Logic
Chapter 4: Combinational LogicChapter 4: Combinational Logic
Chapter 4: Combinational Logic
Er. Nawaraj Bhandari
Pre-emphasis and de-emphasis circuits
Pre-emphasis and de-emphasis circuitsPre-emphasis and de-emphasis circuits
Pre-emphasis and de-emphasis circuits
ShivangiSingh241
Combinational Circuits & Sequential Circuits
Combinational Circuits & Sequential CircuitsCombinational Circuits & Sequential Circuits
Combinational Circuits & Sequential Circuits
gourav kottawar
Dlc{binary to gray code conversion} ppt
Dlc{binary to gray code conversion} pptDlc{binary to gray code conversion} ppt
Dlc{binary to gray code conversion} ppt
Tanish Gupta
Parity Generator and Parity Checker
Parity Generator and Parity CheckerParity Generator and Parity Checker
Parity Generator and Parity Checker
Jignesh Navdiya
Boolean Function Forms
Boolean Function FormsBoolean Function Forms
Boolean Function Forms
Hashni T
Decoders
DecodersDecoders
Decoders
Re Man
multiplexers and demultiplexers
 multiplexers and demultiplexers multiplexers and demultiplexers
multiplexers and demultiplexers
Unsa Shakir
Register in Digital Logic
Register in Digital LogicRegister in Digital Logic
Register in Digital Logic
ISMT College
3.codes( binary code ,excess 3, gray code )
3.codes( binary code ,excess 3, gray code )3.codes( binary code ,excess 3, gray code )
3.codes( binary code ,excess 3, gray code )
MdFazleRabbi18
Parallel Adder and Subtractor
Parallel Adder and SubtractorParallel Adder and Subtractor
Parallel Adder and Subtractor
Smit Shah
Introduction to multiplexer and demultiplexer
Introduction to multiplexer and demultiplexerIntroduction to multiplexer and demultiplexer
Introduction to multiplexer and demultiplexer
krantikiranmanugarra
Encoders and decoders
Encoders and decodersEncoders and decoders
Encoders and decoders
Gaditek
What is Gray Code?
What is Gray Code? What is Gray Code?
What is Gray Code?
Mukesh Tekwani
Combinational circuits
Combinational circuits Combinational circuits
Combinational circuits
DrSonali Vyas
encoder and decoder in digital electronics
encoder and decoder in digital electronicsencoder and decoder in digital electronics
encoder and decoder in digital electronics
vikram rajpurohit
noise in pcm | Communication Systems
noise in pcm | Communication Systemsnoise in pcm | Communication Systems
noise in pcm | Communication Systems
Learn By Watch
Pre-emphasis and de-emphasis circuits
Pre-emphasis and de-emphasis circuitsPre-emphasis and de-emphasis circuits
Pre-emphasis and de-emphasis circuits
ShivangiSingh241
Combinational Circuits & Sequential Circuits
Combinational Circuits & Sequential CircuitsCombinational Circuits & Sequential Circuits
Combinational Circuits & Sequential Circuits
gourav kottawar
Dlc{binary to gray code conversion} ppt
Dlc{binary to gray code conversion} pptDlc{binary to gray code conversion} ppt
Dlc{binary to gray code conversion} ppt
Tanish Gupta
Parity Generator and Parity Checker
Parity Generator and Parity CheckerParity Generator and Parity Checker
Parity Generator and Parity Checker
Jignesh Navdiya

Similar to encoder (20)

digital electronics..
digital electronics..digital electronics..
digital electronics..
Saurav Roy
multiplexer and d-multiplexer
multiplexer and d-multiplexermultiplexer and d-multiplexer
multiplexer and d-multiplexer
malikwaqar75033149
08 decoder
08 decoder08 decoder
08 decoder
Aamina Aslam
Encoders
EncodersEncoders
Encoders
Daffodil International University
Digital Logic Design Lectures on Flip-flops and latches and counters
Digital Logic Design Lectures on Flip-flops and latches and countersDigital Logic Design Lectures on Flip-flops and latches and counters
Digital Logic Design Lectures on Flip-flops and latches and counters
ssuserb29fcb
Encoders
EncodersEncoders
Encoders
Daffodil International University
Combinational Circuits encoders and decoders
Combinational Circuits encoders and decodersCombinational Circuits encoders and decoders
Combinational Circuits encoders and decoders
sivaramakrishnachava
Encoders and types of encodrs
Encoders and types of encodrs Encoders and types of encodrs
Encoders and types of encodrs
Easy n Inspire L
7.-Elektronika-Digital-Dekoder-Enkoder-7Segment.pptx
7.-Elektronika-Digital-Dekoder-Enkoder-7Segment.pptx7.-Elektronika-Digital-Dekoder-Enkoder-7Segment.pptx
7.-Elektronika-Digital-Dekoder-Enkoder-7Segment.pptx
ssuser651430
STLD-Combinational logic design
STLD-Combinational  logic design STLD-Combinational  logic design
STLD-Combinational logic design
Abhinay Potlabathini
Digital Logic Design Lecture on Counters and
Digital Logic Design Lecture on Counters andDigital Logic Design Lecture on Counters and
Digital Logic Design Lecture on Counters and
ssuserb29fcb
UNIT3.3.pdf
UNIT3.3.pdfUNIT3.3.pdf
UNIT3.3.pdf
BunnyYadav7
Lecture 3
Lecture 3Lecture 3
Lecture 3
RahulRathi94
12.Representation of signed binary numbers. Binary codes - BCD code, Gray co...
12.Representation of signed binary numbers.  Binary codes - BCD code, Gray co...12.Representation of signed binary numbers.  Binary codes - BCD code, Gray co...
12.Representation of signed binary numbers. Binary codes - BCD code, Gray co...
JatinJatin30
7.-Elektronika-Digital-Dekoder-Enkoder-7Segment.ppt
7.-Elektronika-Digital-Dekoder-Enkoder-7Segment.ppt7.-Elektronika-Digital-Dekoder-Enkoder-7Segment.ppt
7.-Elektronika-Digital-Dekoder-Enkoder-7Segment.ppt
Arissandi6
Decoders decoderand design with their.pptx
Decoders decoderand design with their.pptxDecoders decoderand design with their.pptx
Decoders decoderand design with their.pptx
ssuser67a684
Convolution codes - Coding/Decoding Tree codes and Trellis codes for multiple...
Convolution codes - Coding/Decoding Tree codes and Trellis codes for multiple...Convolution codes - Coding/Decoding Tree codes and Trellis codes for multiple...
Convolution codes - Coding/Decoding Tree codes and Trellis codes for multiple...
Madhumita Tamhane
ATT SMK.pptx
ATT SMK.pptxATT SMK.pptx
ATT SMK.pptx
MadhavKarve
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
Aishah928448
Digital VLSI - Unit 2.pptx
Digital VLSI - Unit 2.pptxDigital VLSI - Unit 2.pptx
Digital VLSI - Unit 2.pptx
SanjaiPrasad
digital electronics..
digital electronics..digital electronics..
digital electronics..
Saurav Roy
multiplexer and d-multiplexer
multiplexer and d-multiplexermultiplexer and d-multiplexer
multiplexer and d-multiplexer
malikwaqar75033149
Digital Logic Design Lectures on Flip-flops and latches and counters
Digital Logic Design Lectures on Flip-flops and latches and countersDigital Logic Design Lectures on Flip-flops and latches and counters
Digital Logic Design Lectures on Flip-flops and latches and counters
ssuserb29fcb
Combinational Circuits encoders and decoders
Combinational Circuits encoders and decodersCombinational Circuits encoders and decoders
Combinational Circuits encoders and decoders
sivaramakrishnachava
Encoders and types of encodrs
Encoders and types of encodrs Encoders and types of encodrs
Encoders and types of encodrs
Easy n Inspire L
7.-Elektronika-Digital-Dekoder-Enkoder-7Segment.pptx
7.-Elektronika-Digital-Dekoder-Enkoder-7Segment.pptx7.-Elektronika-Digital-Dekoder-Enkoder-7Segment.pptx
7.-Elektronika-Digital-Dekoder-Enkoder-7Segment.pptx
ssuser651430
STLD-Combinational logic design
STLD-Combinational  logic design STLD-Combinational  logic design
STLD-Combinational logic design
Abhinay Potlabathini
Digital Logic Design Lecture on Counters and
Digital Logic Design Lecture on Counters andDigital Logic Design Lecture on Counters and
Digital Logic Design Lecture on Counters and
ssuserb29fcb
12.Representation of signed binary numbers. Binary codes - BCD code, Gray co...
12.Representation of signed binary numbers.  Binary codes - BCD code, Gray co...12.Representation of signed binary numbers.  Binary codes - BCD code, Gray co...
12.Representation of signed binary numbers. Binary codes - BCD code, Gray co...
JatinJatin30
7.-Elektronika-Digital-Dekoder-Enkoder-7Segment.ppt
7.-Elektronika-Digital-Dekoder-Enkoder-7Segment.ppt7.-Elektronika-Digital-Dekoder-Enkoder-7Segment.ppt
7.-Elektronika-Digital-Dekoder-Enkoder-7Segment.ppt
Arissandi6
Decoders decoderand design with their.pptx
Decoders decoderand design with their.pptxDecoders decoderand design with their.pptx
Decoders decoderand design with their.pptx
ssuser67a684
Convolution codes - Coding/Decoding Tree codes and Trellis codes for multiple...
Convolution codes - Coding/Decoding Tree codes and Trellis codes for multiple...Convolution codes - Coding/Decoding Tree codes and Trellis codes for multiple...
Convolution codes - Coding/Decoding Tree codes and Trellis codes for multiple...
Madhumita Tamhane
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
Aishah928448
Digital VLSI - Unit 2.pptx
Digital VLSI - Unit 2.pptxDigital VLSI - Unit 2.pptx
Digital VLSI - Unit 2.pptx
SanjaiPrasad

Recently uploaded (20)

Creating Opportunities and Access for Every Student in North Carolina
Creating Opportunities and Access for Every Student in North CarolinaCreating Opportunities and Access for Every Student in North Carolina
Creating Opportunities and Access for Every Student in North Carolina
Mebane Rash
7. Analysing Language And Techniques copy.pdf
7. Analysing Language And Techniques copy.pdf7. Analysing Language And Techniques copy.pdf
7. Analysing Language And Techniques copy.pdf
jpinnuck
The basics of sentences session 8pptx.pptx
The basics of sentences session 8pptx.pptxThe basics of sentences session 8pptx.pptx
The basics of sentences session 8pptx.pptx
heathfieldcps1
New Widget to Record Invoice Line Description Odoo 18
New Widget to Record Invoice Line Description Odoo 18New Widget to Record Invoice Line Description Odoo 18
New Widget to Record Invoice Line Description Odoo 18
Celine George
Choosing the Right Marketing Technology Stack for Your Nonprofit.pdf
Choosing the Right Marketing Technology Stack for Your Nonprofit.pdfChoosing the Right Marketing Technology Stack for Your Nonprofit.pdf
Choosing the Right Marketing Technology Stack for Your Nonprofit.pdf
TechSoup
How to Configure Tax Cloud in Odoo 17 Accounting
How to Configure Tax Cloud in Odoo 17 AccountingHow to Configure Tax Cloud in Odoo 17 Accounting
How to Configure Tax Cloud in Odoo 17 Accounting
Celine George
Lena Yu aka LambdaMamba - Plenty of Phish in the Sea: Collecting and Investig...
Lena Yu aka LambdaMamba - Plenty of Phish in the Sea: Collecting and Investig...Lena Yu aka LambdaMamba - Plenty of Phish in the Sea: Collecting and Investig...
Lena Yu aka LambdaMamba - Plenty of Phish in the Sea: Collecting and Investig...
LenaYu2
Radiobutton in AWT Controls ( Java Applet)
Radiobutton in AWT Controls ( Java Applet)Radiobutton in AWT Controls ( Java Applet)
Radiobutton in AWT Controls ( Java Applet)
harlearncs
How to Share Product Specifications with Customers via Email Odoo 18
How to Share Product Specifications with Customers via Email Odoo 18How to Share Product Specifications with Customers via Email Odoo 18
How to Share Product Specifications with Customers via Email Odoo 18
Celine George
More Than Both Sides Redefining Objectivity March 2025.pdf
More Than Both Sides  Redefining Objectivity March 2025.pdfMore Than Both Sides  Redefining Objectivity March 2025.pdf
More Than Both Sides Redefining Objectivity March 2025.pdf
Logan Aimone
Introduction to PRISMA: Common Pitfalls & Best Practices in Systematic Review...
Introduction to PRISMA: Common Pitfalls & Best Practices in Systematic Review...Introduction to PRISMA: Common Pitfalls & Best Practices in Systematic Review...
Introduction to PRISMA: Common Pitfalls & Best Practices in Systematic Review...
Systematic Reviews Network (SRN)
Fuel Injection in Compression Ignition Engine
Fuel Injection in Compression Ignition EngineFuel Injection in Compression Ignition Engine
Fuel Injection in Compression Ignition Engine
NileshKumbhar21
FINTECH AND BLOCK CHAIN IN RESHAPING THE FUTURE.pptx
FINTECH AND BLOCK CHAIN IN RESHAPING THE FUTURE.pptxFINTECH AND BLOCK CHAIN IN RESHAPING THE FUTURE.pptx
FINTECH AND BLOCK CHAIN IN RESHAPING THE FUTURE.pptx
Salomi Wilson
Abigail Sageev presents at the OECD webinar 'Improving skills outcomes throug...
Abigail Sageev presents at the OECD webinar 'Improving skills outcomes throug...Abigail Sageev presents at the OECD webinar 'Improving skills outcomes throug...
Abigail Sageev presents at the OECD webinar 'Improving skills outcomes throug...
EduSkills OECD
Ferritin MRNA translation regulation.pptx
Ferritin MRNA translation regulation.pptxFerritin MRNA translation regulation.pptx
Ferritin MRNA translation regulation.pptx
NaziyaHabeebMBTE
National Policy On Education-1986 (Objectives And Major Recommendations).pptx
National Policy On Education-1986 (Objectives And Major Recommendations).pptxNational Policy On Education-1986 (Objectives And Major Recommendations).pptx
National Policy On Education-1986 (Objectives And Major Recommendations).pptx
Dr. JN Gorai, PhD
Financial Forms, Awards & Appeals for Families & Counselors
Financial Forms, Awards & Appeals for Families & CounselorsFinancial Forms, Awards & Appeals for Families & Counselors
Financial Forms, Awards & Appeals for Families & Counselors
Cyndy McDonald
Unit 2 Analysis of Financial Statements.pptx
Unit 2 Analysis of Financial Statements.pptxUnit 2 Analysis of Financial Statements.pptx
Unit 2 Analysis of Financial Statements.pptx
NileshKumbhar21
Next Gen Project Delivery - Disrupting the Status Quo
Next Gen Project Delivery - Disrupting the Status QuoNext Gen Project Delivery - Disrupting the Status Quo
Next Gen Project Delivery - Disrupting the Status Quo
Association for Project Management
Scattered Radion Survey for QA & QC .pptx
Scattered Radion Survey for QA & QC .pptxScattered Radion Survey for QA & QC .pptx
Scattered Radion Survey for QA & QC .pptx
Dolphin PG College, Chunni Kalan, Fatehgarh Sahib, Mohali
Creating Opportunities and Access for Every Student in North Carolina
Creating Opportunities and Access for Every Student in North CarolinaCreating Opportunities and Access for Every Student in North Carolina
Creating Opportunities and Access for Every Student in North Carolina
Mebane Rash
7. Analysing Language And Techniques copy.pdf
7. Analysing Language And Techniques copy.pdf7. Analysing Language And Techniques copy.pdf
7. Analysing Language And Techniques copy.pdf
jpinnuck
The basics of sentences session 8pptx.pptx
The basics of sentences session 8pptx.pptxThe basics of sentences session 8pptx.pptx
The basics of sentences session 8pptx.pptx
heathfieldcps1
New Widget to Record Invoice Line Description Odoo 18
New Widget to Record Invoice Line Description Odoo 18New Widget to Record Invoice Line Description Odoo 18
New Widget to Record Invoice Line Description Odoo 18
Celine George
Choosing the Right Marketing Technology Stack for Your Nonprofit.pdf
Choosing the Right Marketing Technology Stack for Your Nonprofit.pdfChoosing the Right Marketing Technology Stack for Your Nonprofit.pdf
Choosing the Right Marketing Technology Stack for Your Nonprofit.pdf
TechSoup
How to Configure Tax Cloud in Odoo 17 Accounting
How to Configure Tax Cloud in Odoo 17 AccountingHow to Configure Tax Cloud in Odoo 17 Accounting
How to Configure Tax Cloud in Odoo 17 Accounting
Celine George
Lena Yu aka LambdaMamba - Plenty of Phish in the Sea: Collecting and Investig...
Lena Yu aka LambdaMamba - Plenty of Phish in the Sea: Collecting and Investig...Lena Yu aka LambdaMamba - Plenty of Phish in the Sea: Collecting and Investig...
Lena Yu aka LambdaMamba - Plenty of Phish in the Sea: Collecting and Investig...
LenaYu2
Radiobutton in AWT Controls ( Java Applet)
Radiobutton in AWT Controls ( Java Applet)Radiobutton in AWT Controls ( Java Applet)
Radiobutton in AWT Controls ( Java Applet)
harlearncs
How to Share Product Specifications with Customers via Email Odoo 18
How to Share Product Specifications with Customers via Email Odoo 18How to Share Product Specifications with Customers via Email Odoo 18
How to Share Product Specifications with Customers via Email Odoo 18
Celine George
More Than Both Sides Redefining Objectivity March 2025.pdf
More Than Both Sides  Redefining Objectivity March 2025.pdfMore Than Both Sides  Redefining Objectivity March 2025.pdf
More Than Both Sides Redefining Objectivity March 2025.pdf
Logan Aimone
Introduction to PRISMA: Common Pitfalls & Best Practices in Systematic Review...
Introduction to PRISMA: Common Pitfalls & Best Practices in Systematic Review...Introduction to PRISMA: Common Pitfalls & Best Practices in Systematic Review...
Introduction to PRISMA: Common Pitfalls & Best Practices in Systematic Review...
Systematic Reviews Network (SRN)
Fuel Injection in Compression Ignition Engine
Fuel Injection in Compression Ignition EngineFuel Injection in Compression Ignition Engine
Fuel Injection in Compression Ignition Engine
NileshKumbhar21
FINTECH AND BLOCK CHAIN IN RESHAPING THE FUTURE.pptx
FINTECH AND BLOCK CHAIN IN RESHAPING THE FUTURE.pptxFINTECH AND BLOCK CHAIN IN RESHAPING THE FUTURE.pptx
FINTECH AND BLOCK CHAIN IN RESHAPING THE FUTURE.pptx
Salomi Wilson
Abigail Sageev presents at the OECD webinar 'Improving skills outcomes throug...
Abigail Sageev presents at the OECD webinar 'Improving skills outcomes throug...Abigail Sageev presents at the OECD webinar 'Improving skills outcomes throug...
Abigail Sageev presents at the OECD webinar 'Improving skills outcomes throug...
EduSkills OECD
Ferritin MRNA translation regulation.pptx
Ferritin MRNA translation regulation.pptxFerritin MRNA translation regulation.pptx
Ferritin MRNA translation regulation.pptx
NaziyaHabeebMBTE
National Policy On Education-1986 (Objectives And Major Recommendations).pptx
National Policy On Education-1986 (Objectives And Major Recommendations).pptxNational Policy On Education-1986 (Objectives And Major Recommendations).pptx
National Policy On Education-1986 (Objectives And Major Recommendations).pptx
Dr. JN Gorai, PhD
Financial Forms, Awards & Appeals for Families & Counselors
Financial Forms, Awards & Appeals for Families & CounselorsFinancial Forms, Awards & Appeals for Families & Counselors
Financial Forms, Awards & Appeals for Families & Counselors
Cyndy McDonald
Unit 2 Analysis of Financial Statements.pptx
Unit 2 Analysis of Financial Statements.pptxUnit 2 Analysis of Financial Statements.pptx
Unit 2 Analysis of Financial Statements.pptx
NileshKumbhar21

encoder

  • 1. Welcome to My presentation NAME : Ashikull moula ID : 193002074 Topic : Encoder Department: CSE Green university of Bangladesh
  • 2. What is Encoder The encoder is a combinational circuit that performs the reverse operation of the decoder. The encoder has a maximum of 2n inputs and n outputs. The simplest encoder is a 2n-to-n binary encoder One of 2ninputs = 1 Output is an n-bit binary number
  • 3. Encoders vs. Decoders n-to-2n Input code : Binary Code Input code : 1-out-of-2n. 2n -to-n encoder Output code :1-out-of-2n. Output code : Binary Code Binary decoders/encoders
  • 4. Binary Encoder 2n-to-n encoder : 2n inputs and n outputs. Input code : 1-out-of-2n. Output code : Binary Code Example : n=3, 8-to-3 encoder Inputs Outputs D0 D1 D2 D3 D4 D5 D6 D7 Q2 Q1 Q0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 1 0 0 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 1 1 0 0 0 0 1 0 0 0 1 0 0 0 0 0 0 0 1 0 0 1 0 1 0 0 0 0 0 0 1 0 1 1 0 0 0 0 0 0 0 0 1 1 1 1
  • 5. 8-to-3 encoder Implementation 2n -to-n encoder : 2n inputs and n outputs. Input code : 1-out-of-2n. Output code : Binary Code Example : n=3, 8-to-3 encode Inputs Outputs D0 D1 D2 D3 D4 D5 D6 D7 Q2 Q1 Q0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 1 0 0 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 1 1 0 0 0 0 1 0 0 0 1 0 0 0 0 0 0 0 1 0 0 1 0 1 0 0 0 0 0 0 1 0 1 1 0 0 0 0 0 0 0 0 1 1 1 1
  • 6. 8-to-3 encoder Implementation Simplified implementation: -From the truth table Q0 = I1 + I3 + I5 + I7 Q1 = I2 + I3 + I6 + I7 Q2 = I4 + I5 + I6 + I7 Limitations : -I0 has no effect on the output-Only one input can be activate Application: Handling multiple devices requests But, no simultaneous requests