Beginner Topic 12 of 51 Computer Architecture & Logic
Multiplexers
Circuits selecting one of many inputs using control lines.
How it works
A multiplexer, or mux, selects one of several data inputs and forwards it to a single output according to select lines; with n select bits it chooses among 2 to the power n inputs. It acts as a hardware switch or an if-else in a circuit, and a demultiplexer does the reverse. Any Boolean function of n variables can be implemented with a 2 to the n minus 1 input mux.
Where it is used
Choosing between ALU operations, selecting register file outputs, routing data between buses, implementing lookup tables in FPGAs and time-sharing communication lines use multiplexers.
Common pitfall
Wrong select-line encoding or ordering routes the wrong input. Large multiplexers add delay and area, and glitches can occur while select signals change. Build wide multiplexers as trees of smaller ones, and remember the inputs are not combined, only one is passed through at a time.
Where it fits in the course
Multiplexers is topic 12 of 51 in Computer Architecture & Logic, rated Beginner. It follows Adders. The next topic is Flip-Flops.
Practice and explore
- Open the interactive lesson, with a mini quiz.
- Take the Computer Architecture & Logic quiz.
- Explore the Logic Gates visualizer: Toggle inputs and see gate outputs and truth tables.
How to study this topic
- Read the explanation above and restate the definition in your own words.
- Open the interactive lesson and answer its mini quiz.
- Read the common pitfall, then write a short example that avoids it.
- Check your understanding in the Computer Architecture & Logic quiz, and revisit the topic if you miss a question.
Frequently asked questions
What is Multiplexers?
Where do people use Multiplexers?
What is the most common mistake with Multiplexers?
What should I learn before this topic?
How can I practice it?
Is Multiplexers hard to learn?
How long does it take to learn Multiplexers?
Which topics are related to Multiplexers?
What should I study after Multiplexers?
Related topics
- Adders (Computer Architecture & Logic)
- Flip-Flops (Computer Architecture & Logic)
- Combinational Circuits (Computer Architecture & Logic)
- Registers (Computer Architecture & Logic)