SlideShare uma empresa Scribd logo
1 de 16
Multiplexers,
COMPUTER ORGANIZATION
Demultiplexers,
The Digital Encoder
Multiplexers
Multiplexer is a special type of combinational circuit.
A data selector, more commonly called a Multiplexer, shortened
to "Mux" or "MPX", are combinational logic switching devices
that operate like a very fast acting multiple position rotary
switch.
They connect or control, multiple input lines called "channels"
consisting of either 2, 4, 8 or 16 individual inputs, one at a time
to an output.
There are n-data inputs, one output and m select inputs with
2m = n. It is a digital circuit which selects one of the n data
inputs and routes it to the output.
Then the job of a "multiplexer" is to allow multiple signals to share
a single common output.
For example, a single 8-channel multiplexer would connect one of
its eight inputs to the single data output.
Multiplexers are used as one method of reducing the number of
logic gates required in a circuit or when a single data line is
required to carry two or more different digital signals.
The selection of one of the n inputs is done by the selected inputs.
Depending on the digital code applied at the selected inputs, one
out of n data sources is selected and transmitted to the single
output Y.
E is called the strobe or enable input which is useful for the
cascading. It is generally an active low terminal, that means it will
perform the required operation when it is low.
Multiplexers
• Multiplexers come in multiple variations
• 2 : 1 multiplexer
• 4 : 1 multiplexer
• 16 : 1 multiplexer
• 32 : 1 multiplexer
Block Diagram
4 Channel Multiplexer using Logic Gates
• Demultiplexers
• A demultiplexer performs the reverse operation of a multiplexer
i.e. it receives one input and distributes it over several outputs.
• It has only one input, n outputs, m select input. At a time only
one output line is selected by the select lines and the input is
transmitted to the selected output line.
• 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.
• A de-multiplexer is equivalent to a single pole multiple way
switch.
Demultiplexers
Block Diagram
•Demultiplexers come in multiple
variations
•1 : 2 demultiplexer
•1 : 4 demultiplexer
•1 : 16 demultiplexer
•1 : 32 demultiplexer
Unlike multiplexers which
convert data from a single
data line to multiple lines
and demultiplexers which
convert multiple lines to a
single data line.
4 Channel Demultiplexer using Logic Gates
The Digital Encoder
Digital Encoder more commonly called a Binary Encoder takes
ALL its data inputs one at a time and then converts them into a
single encoded output.
So we can say that a binary encoder, is a multi-input
combinational logic circuit that converts the logic level "1" data
at its inputs into an equivalent binary code at its output.
Generally, digital encoders produce outputs of 2-bit, 3-bit or 4-
bit codes depending upon the number of data input lines. An
"n-bit" binary encoder has 2n input lines and n-bit output lines
with common types that include 4-to-2, 8-to-3 and 16-to-4 line
configurations.
The output lines of a digital encoder generate the binary
equivalent of the input line whose value is equal to "1" and are
available to encode either a decimal or hexadecimal input
pattern to typically a binary or B.C.D. output code.
4-to-2 Bit Binary Encoder
• One of the main disadvantages of standard digital encoders is
that they can generate the wrong output code when there is
more than one input present at logic level "1".
• For example, if we make inputs D1 and D2 HIGH at logic "1"
both at the same time, the resulting output is neither at "01"
or at "10" but will be at "11" which is an output binary
number that is different to the actual input present. Also, an
output code of all logic "0"s can be generated when all of its
inputs are at "0" OR when input D0 is equal to one.
• One simple way to overcome this problem is to "Prioritise"
the level of each input pin and if there was more than one
input at logic level "1" the actual output code would only
correspond to the input with the highest designated priority.
Then this type of digital encoder is known commonly as a
Priority Encoder or P-encoder for short.
The Priority Encoder solves the problems mentioned
above by allocating a priority level to each input.
The priority encoders output corresponds to the
currently active input which has the highest priority.
So when an input with a higher priority is present, all
other inputs with a lower priority will be ignored.
The priority encoder comes in many different forms
with an example of an 8-input priority encoder along
with its truth table shown below.
Priority Encoder
8-to-3 Bit Priority Encoder
Digital Encoder using Logic Gates
By S.Vanitha,Chennai

Mais conteúdo relacionado

Mais procurados

Decoders
DecodersDecoders
Decoders
Re Man
 

Mais procurados (20)

Combinational circuits
Combinational circuitsCombinational circuits
Combinational circuits
 
Decoders
DecodersDecoders
Decoders
 
Latches and flip flop
Latches and flip flopLatches and flip flop
Latches and flip flop
 
latches
 latches latches
latches
 
multiplexers and demultiplexers
 multiplexers and demultiplexers multiplexers and demultiplexers
multiplexers and demultiplexers
 
What are Flip Flops and Its types.
What are Flip Flops and Its types.What are Flip Flops and Its types.
What are Flip Flops and Its types.
 
Parity Generator and Parity Checker
Parity Generator and Parity CheckerParity Generator and Parity Checker
Parity Generator and Parity Checker
 
Flip-Flop || Digital Electronics
Flip-Flop || Digital ElectronicsFlip-Flop || Digital Electronics
Flip-Flop || Digital Electronics
 
Combinational circuits
Combinational circuits Combinational circuits
Combinational circuits
 
Flip flop
Flip flopFlip flop
Flip flop
 
Types of flip flops ppt
Types of flip flops pptTypes of flip flops ppt
Types of flip flops ppt
 
Sr Latch or Flip Flop
Sr Latch or Flip FlopSr Latch or Flip Flop
Sr Latch or Flip Flop
 
Logic gates - AND, OR, NOT, NOR, NAND, XOR, XNOR Gates.
Logic gates - AND, OR, NOT, NOR, NAND, XOR, XNOR Gates.Logic gates - AND, OR, NOT, NOR, NAND, XOR, XNOR Gates.
Logic gates - AND, OR, NOT, NOR, NAND, XOR, XNOR Gates.
 
Introduction to multiplexer and demultiplexer
Introduction to multiplexer and demultiplexerIntroduction to multiplexer and demultiplexer
Introduction to multiplexer and demultiplexer
 
Multiplexers and Demultiplexers
Multiplexers and DemultiplexersMultiplexers and Demultiplexers
Multiplexers and Demultiplexers
 
Counters
CountersCounters
Counters
 
Decoder Full Presentation
Decoder Full Presentation Decoder Full Presentation
Decoder Full Presentation
 
Encoder & Decoder
Encoder & DecoderEncoder & Decoder
Encoder & Decoder
 
Logic families
Logic familiesLogic families
Logic families
 
Boolean algebra & logic gates
Boolean algebra & logic gatesBoolean algebra & logic gates
Boolean algebra & logic gates
 

Semelhante a COMPUTER ORGANIZATION -Multiplexer,Demultiplexer, Encoder

combinationalcircuits-161111065011(0).pptx
combinationalcircuits-161111065011(0).pptxcombinationalcircuits-161111065011(0).pptx
combinationalcircuits-161111065011(0).pptx
MmMm633188
 
decoders121-170714184489769876987698749.pptx
decoders121-170714184489769876987698749.pptxdecoders121-170714184489769876987698749.pptx
decoders121-170714184489769876987698749.pptx
tlap4412
 

Semelhante a COMPUTER ORGANIZATION -Multiplexer,Demultiplexer, Encoder (20)

ATT SMK.pptx
ATT SMK.pptxATT SMK.pptx
ATT SMK.pptx
 
combinationalcircuits-161111065011(0).pptx
combinationalcircuits-161111065011(0).pptxcombinationalcircuits-161111065011(0).pptx
combinationalcircuits-161111065011(0).pptx
 
LOGIC DECODERS and MULTI.pptx
LOGIC DECODERS and MULTI.pptxLOGIC DECODERS and MULTI.pptx
LOGIC DECODERS and MULTI.pptx
 
Combinational circuit
Combinational circuitCombinational circuit
Combinational circuit
 
Glory - MuxDemuxvygytftftftgyguyhuhyufd57.pptx
Glory - MuxDemuxvygytftftftgyguyhuhyufd57.pptxGlory - MuxDemuxvygytftftftgyguyhuhyufd57.pptx
Glory - MuxDemuxvygytftftftgyguyhuhyufd57.pptx
 
Combinational circuits
Combinational circuitsCombinational circuits
Combinational circuits
 
Interfacing of data converters & io devices
Interfacing of data converters & io devicesInterfacing of data converters & io devices
Interfacing of data converters & io devices
 
Chapter 4 combinational circuit
Chapter 4 combinational circuit Chapter 4 combinational circuit
Chapter 4 combinational circuit
 
11.ppt
11.ppt11.ppt
11.ppt
 
FYBSC IT Digital Electronics Unit IV Chapter I Multiplexer, Demultiplexer, AL...
FYBSC IT Digital Electronics Unit IV Chapter I Multiplexer, Demultiplexer, AL...FYBSC IT Digital Electronics Unit IV Chapter I Multiplexer, Demultiplexer, AL...
FYBSC IT Digital Electronics Unit IV Chapter I Multiplexer, Demultiplexer, AL...
 
Types of encoders and decoders with truth tables
Types of encoders and decoders with truth tablesTypes of encoders and decoders with truth tables
Types of encoders and decoders with truth tables
 
Computer System and Architecture
Computer System and ArchitectureComputer System and Architecture
Computer System and Architecture
 
UNIT3.3.pdf
UNIT3.3.pdfUNIT3.3.pdf
UNIT3.3.pdf
 
Decoders-Digital Electronics
Decoders-Digital ElectronicsDecoders-Digital Electronics
Decoders-Digital Electronics
 
presentation.pptx
presentation.pptxpresentation.pptx
presentation.pptx
 
Combinational circuit
Combinational circuitCombinational circuit
Combinational circuit
 
decoders121-170714184489769876987698749.pptx
decoders121-170714184489769876987698749.pptxdecoders121-170714184489769876987698749.pptx
decoders121-170714184489769876987698749.pptx
 
multiplexer 4 input
multiplexer 4 inputmultiplexer 4 input
multiplexer 4 input
 
MAGNITUDE COMPARATOR & DECODER
MAGNITUDE COMPARATOR & DECODERMAGNITUDE COMPARATOR & DECODER
MAGNITUDE COMPARATOR & DECODER
 
Encoder-and-decoder.pptx
Encoder-and-decoder.pptxEncoder-and-decoder.pptx
Encoder-and-decoder.pptx
 

Mais de Vanitha Chandru (10)

Karnaugh map
Karnaugh mapKarnaugh map
Karnaugh map
 
Binary tree
Binary  treeBinary  tree
Binary tree
 
Shift Register
Shift RegisterShift Register
Shift Register
 
Computer Oragnization Flipflops
Computer Oragnization FlipflopsComputer Oragnization Flipflops
Computer Oragnization Flipflops
 
COMPUTER ORGANIZATION - Logic gates, Boolean Algebra, Combinational Circuits
COMPUTER ORGANIZATION - Logic gates, Boolean Algebra, Combinational CircuitsCOMPUTER ORGANIZATION - Logic gates, Boolean Algebra, Combinational Circuits
COMPUTER ORGANIZATION - Logic gates, Boolean Algebra, Combinational Circuits
 
Text-Elements of multimedia
Text-Elements of multimediaText-Elements of multimedia
Text-Elements of multimedia
 
Light effect
Light effectLight effect
Light effect
 
Alexander the Great
Alexander the GreatAlexander the Great
Alexander the Great
 
Swami Vivekananda's Quotes
Swami Vivekananda's QuotesSwami Vivekananda's Quotes
Swami Vivekananda's Quotes
 
Customers
CustomersCustomers
Customers
 

Último

Último (20)

Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Fostering Friendships - Enhancing Social Bonds in the Classroom
Fostering Friendships - Enhancing Social Bonds  in the ClassroomFostering Friendships - Enhancing Social Bonds  in the Classroom
Fostering Friendships - Enhancing Social Bonds in the Classroom
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdfUnit 3 Emotional Intelligence and Spiritual Intelligence.pdf
Unit 3 Emotional Intelligence and Spiritual Intelligence.pdf
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptx
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
80 ĐỀ THI THỬ TUYỂN SINH TIẾNG ANH VÀO 10 SỞ GD – ĐT THÀNH PHỐ HỒ CHÍ MINH NĂ...
 

COMPUTER ORGANIZATION -Multiplexer,Demultiplexer, Encoder

  • 2. Multiplexers Multiplexer is a special type of combinational circuit. A data selector, more commonly called a Multiplexer, shortened to "Mux" or "MPX", are combinational logic switching devices that operate like a very fast acting multiple position rotary switch. They connect or control, multiple input lines called "channels" consisting of either 2, 4, 8 or 16 individual inputs, one at a time to an output. There are n-data inputs, one output and m select inputs with 2m = n. It is a digital circuit which selects one of the n data inputs and routes it to the output.
  • 3. Then the job of a "multiplexer" is to allow multiple signals to share a single common output. For example, a single 8-channel multiplexer would connect one of its eight inputs to the single data output. Multiplexers are used as one method of reducing the number of logic gates required in a circuit or when a single data line is required to carry two or more different digital signals. The selection of one of the n inputs is done by the selected inputs. Depending on the digital code applied at the selected inputs, one out of n data sources is selected and transmitted to the single output Y. E is called the strobe or enable input which is useful for the cascading. It is generally an active low terminal, that means it will perform the required operation when it is low.
  • 5. • Multiplexers come in multiple variations • 2 : 1 multiplexer • 4 : 1 multiplexer • 16 : 1 multiplexer • 32 : 1 multiplexer Block Diagram
  • 6. 4 Channel Multiplexer using Logic Gates
  • 7. • Demultiplexers • A demultiplexer performs the reverse operation of a multiplexer i.e. it receives one input and distributes it over several outputs. • It has only one input, n outputs, m select input. At a time only one output line is selected by the select lines and the input is transmitted to the selected output line. • 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. • A de-multiplexer is equivalent to a single pole multiple way switch.
  • 8. Demultiplexers Block Diagram •Demultiplexers come in multiple variations •1 : 2 demultiplexer •1 : 4 demultiplexer •1 : 16 demultiplexer •1 : 32 demultiplexer Unlike multiplexers which convert data from a single data line to multiple lines and demultiplexers which convert multiple lines to a single data line.
  • 9. 4 Channel Demultiplexer using Logic Gates
  • 10. The Digital Encoder Digital Encoder more commonly called a Binary Encoder takes ALL its data inputs one at a time and then converts them into a single encoded output. So we can say that a binary encoder, is a multi-input combinational logic circuit that converts the logic level "1" data at its inputs into an equivalent binary code at its output. Generally, digital encoders produce outputs of 2-bit, 3-bit or 4- bit codes depending upon the number of data input lines. An "n-bit" binary encoder has 2n input lines and n-bit output lines with common types that include 4-to-2, 8-to-3 and 16-to-4 line configurations. The output lines of a digital encoder generate the binary equivalent of the input line whose value is equal to "1" and are available to encode either a decimal or hexadecimal input pattern to typically a binary or B.C.D. output code.
  • 11. 4-to-2 Bit Binary Encoder
  • 12. • One of the main disadvantages of standard digital encoders is that they can generate the wrong output code when there is more than one input present at logic level "1". • For example, if we make inputs D1 and D2 HIGH at logic "1" both at the same time, the resulting output is neither at "01" or at "10" but will be at "11" which is an output binary number that is different to the actual input present. Also, an output code of all logic "0"s can be generated when all of its inputs are at "0" OR when input D0 is equal to one. • One simple way to overcome this problem is to "Prioritise" the level of each input pin and if there was more than one input at logic level "1" the actual output code would only correspond to the input with the highest designated priority. Then this type of digital encoder is known commonly as a Priority Encoder or P-encoder for short.
  • 13. The Priority Encoder solves the problems mentioned above by allocating a priority level to each input. The priority encoders output corresponds to the currently active input which has the highest priority. So when an input with a higher priority is present, all other inputs with a lower priority will be ignored. The priority encoder comes in many different forms with an example of an 8-input priority encoder along with its truth table shown below. Priority Encoder
  • 15. Digital Encoder using Logic Gates