IntermediateTopic 42 of 104Electronics & Embedded
Multiplexers and decoders
Select data lines or decode binary addresses.
In depth
A multiplexer selects one of 2ⁿ inputs by n select lines; a decoder activates one of 2ⁿ outputs. A MUX can implement any logic function (look-up table). Decoders do address decoding for memory and I/O.
Key points
- Tri-state buses
- Demultiplexers
- FPGA LUTs are MUXes
ExampleA 4:1 MUX picks one of four sensor readings.
Multiplexers choose one of several inputs and decoders activate one of many outputs, which is how buses, memories and chip selects are organised.
What is Multiplexers and decoders?
Select data lines or decode binary addresses.
Why is it important to understand multiplexers and decoders?
Multiplexers choose one of several inputs and decoders activate one of many outputs, which is how buses, memories and chip selects are organised.
What does a multiplexer do?
It selects one of its data inputs based on the select lines and passes it to the output.
What does a decoder do?
It converts an n-bit input into one of 2 to the n outputs being active, and it is used for address decoding.
How is Multiplexers and decoders used in practice?
Typical applications include selecting between two sensors with a multiplexer on an ADC input, decoding an address to choose one of eight memory chips and routing data from several sources onto a single bus.
What should I learn before Multiplexers and decoders?
Study "Adders and subtractors" first (topic 41 of 104 in Electronics & Embedded). It covers the groundwork this topic builds on.
What are the key points of Multiplexers and decoders?
Tri-state buses. Demultiplexers. FPGA LUTs are MUXes.
Can you give an example of Multiplexers and decoders?
A 4:1 MUX picks one of four sensor readings.
What comes after Multiplexers and decoders?
The next topic is "Flip-flops", which builds directly on this one.
How difficult is Multiplexers and decoders?
It is classed as Intermediate in Electronics & Embedded (topic 42 of 104). It is an intermediate topic. Work through the beginner topics in Electronics & Embedded first.