Digital Logic ยท Unit 6
Multiplexers and Demultiplexers
Exam-focused notes for Multiplexers and Demultiplexers (Digital Logic, BIT103): what the TU syllabus asks and how it has actually been tested, with 5 solved past questions from this unit.
Multiplexers and Demultiplexers in short
A multiplexer picks one of many inputs and sends it to a single output. A demultiplexer does the reverse. They let many signals share one line, and they can also build logic functions.
What this unit covers
- Multiplexer design and operation
- Multiplexer implementation using smaller multiplexers
- Function implementation using multiplexers
- Demultiplexer circuits
Multiplexer implementation using smaller multiplexers
2081 ยท 5 marks
Define multiplexer. Implement 8 ร 1 multiplexer using 2 ร 1 multiplexer. [1+4]
Show solved answerHide answer
Multiplexer: Definition and Implementation
Definition of Multiplexer
A multiplexer (MUX) is a combinational circuit that selects one of many input lines and forwards it to a single output line based on select lines. It is also called a data selector.
- An n-input multiplexer has:
2^ndata input linesnselect lines1output line
Implementing 8ร1 MUX Using 2ร1 MUXes
Key Idea
- An 8ร1 MUX has: 8 data inputs (I0-I7), 3 select lines (S2, S1, S0), and 1 output
- A 2ร1 MUX has: 2 data inputs, 1 select line, 1 output
How Many 2ร1 MUXes Are Needed?
To build an 8ร1 MUX from 2ร1 MUXes:
| Stage | MUXes Required | Output Lines |
|---|---|---|
| Stage 1 (Level 1) | 4 ร (2ร1 MUX) | 4 outputs |
| Stage 2 (Level 2) | 2 ร (2ร1 MUX) | 2 outputs |
| Stage 3 (Level 3) | 1 ร (2ร1 MUX) | 1 output (final) |
Total = 4 + 2 + 1 = 7 two-input MUXes
Circuit Description
Data Inputs Stage 1 (S0) Stage 2 (S1) Stage 3 (S2)
----------- ------------ ------------ ------------
I0 โโ
โโ MUX1 โโโ
I1 โโ (S0) โ
โโ MUX5 โโโ
I2 โโ โ (S1) โ
โโ MUX2 โโโ โ
I3 โโ (S0) โโ MUX7 โโโโ Y (Output)
โ (S2)
I4 โโ โ
โโ MUX3 โโโ โ
I5 โโ (S0) โ โ
โโ MUX6 โโโ
I6 โโ โ (S1)
โโ MUX4 โโโ
I7 โโ (S0)
Operation (Truth Table of Selection)
| S2 | S1 | S0 | Selected Input |
|---|---|---|---|
| 0 | 0 | 0 | I0 |
| 0 | 0 | 1 | I1 |
| 0 | 1 | 0 | I2 |
| 0 | 1 | 1 | I3 |
| 1 | 0 | 0 | I4 |
| 1 | 0 | 1 | I5 |
| 1 | 1 | 0 | I6 |
| 1 | 1 | 1 | I7 |
Working Principle
-
Stage 1 (controlled by S0):
- MUX1 selects between I0 and I1
- MUX2 selects between I2 and I3
- MUX3 selects between I4 and I5
- MUX4 selects between I6 and I7
-
Stage 2 (controlled by S1):
- MUX5 selects between outputs of MUX1 and MUX2
- MUX6 selects between outputs of MUX3 and MUX4
-
Stage 3 (controlled by S2):
- MUX7 selects between outputs of MUX5 and MUX6 to give the final output Y
Summary
An 8ร1 MUX can be implemented using seven 2ร1 MUXes arranged in three stages, where each stage is controlled by one select line (S0, S1, S2 respectively), progressively narrowing 8 inputs down to 1 output.
2079 ยท 5 marks
What is decoder? Implement 8 x 1 MUX using 2 x 1 MUX. [5]
2078 ยท 5 marks
What is decoder? Implement 8 x 1 MUX using 4 x 1 MUX. [5]
0 ยท 5 marks
Design 8 to 1 Multiplexer using two 4to 1 Multiplexers. [5]
Demultiplexer circuits
2081 ยท 5 marks
Write short notes on: a) De-Multiplexer b) Excitation table [0+2.5+2.5]
Make Unit 6 stick
Practice BIT103 with flashcards & quizzes