ð§ Introduction
A Demultiplexer (DEMUX) is a combinational logic circuit that takes a single input and routes it to one of many outputs, depending on the select lines.
ð You can think of it as the reverse of a multiplexer:
- MUX: Many inputs â One output
- DEMUX: One input â Many outputs
Thus, a Demultiplexer is also known as a “data distributor.”
ðŊ Purpose of Demultiplexer
- To transmit a single data input to one of the many outputs.
- Used where one source needs to be connected to multiple destinations at different times.
âïļ Working Principle
- It has one input line, n selection lines, and 2âŋ output lines.
- The selection lines decide which output line gets the input signal.
ð ïļ Basic Structure
No. of Outputs | No. of Select Lines | Example |
---|---|---|
2 | 1 | 1×2 DEMUX |
4 | 2 | 1×4 DEMUX |
8 | 3 | 1×8 DEMUX |
16 | 4 | 1×16 DEMUX |
General Rule:
For m outputs, we need n selection lines, where m = 2âŋ.
ð Block Diagram of a Demultiplexer
Input: Data (D)
|
Select Lines (Sâ, Sâ, ..., Sn)
|
[ DEMUX ]
/ | \
Outputs: Oâ Oâ ... On
- Only one output is active at a time, depending on the select line combination.
ð Example: 1×4 Demultiplexer
- Input: D
- Select Lines: Sâ, Sâ
- Outputs: Yâ, Yâ, Yâ, Yâ
Truth Table:
Sâ | Sâ | Active Output |
---|---|---|
0 | 0 | Yâ = D |
0 | 1 | Yâ = D |
1 | 0 | Yâ = D |
1 | 1 | Yâ = D |
â Only one output carries the input signal D, others remain 0.
ð§Đ Circuit Diagram of 1×4 DEMUX
Logical Expressions:
Yâ = D â
ÂŽSâ â
ÂŽSâ
Yâ = D â
ÂŽSâ â
Sâ
Yâ = D â
Sâ â
ÂŽSâ
Yâ = D â
Sâ â
Sâ
where:
- (â ) = AND
- (ÂŽ) = NOT (inverted)
ð§ Important Points
- Only one output is activated at a time based on select inputs.
- Others remain inactive (0).
- It is mainly used for data distribution.
ð Applications of Demultiplexer
Application | How it’s used |
---|---|
Data Routing | Distributing data from one source to multiple destinations |
Communication Systems | Channelizing signals to different channels |
Memory Management | Connecting CPU to memory blocks |
Serial-to-Parallel Data Conversion | Convert serial data to parallel |
Logic Circuits | Implementation of logical expressions |
ðĨ Advantages of Demultiplexer
- Saves wiring when one input needs to reach many outputs.
- Simplifies design for data distribution systems.
- Flexible control using selection lines.
- Efficient for multi-point communication.
ðŊ Summary
Feature | Demultiplexer |
---|---|
Purpose | Distribute one input to multiple outputs |
Input Lines | 1 |
Output Lines | 2âŋ outputs |
Control Signals | n select lines |
Major Components Used | AND, OR, NOT gates |
âïļ Example Problem
ð Design a 1×4 Demultiplexer.
Inputs: D
Select Lines: Sâ, Sâ
Outputs:
Yâ = D â
ÂŽSâ â
ÂŽSâ
Yâ = D â
ÂŽSâ â
Sâ
Yâ = D â
Sâ â
ÂŽSâ
Yâ = D â
Sâ â
Sâ
â Implement using AND, NOT gates!
ðĒ Real-Life Analogy
Think of a Demultiplexer like a water tap distributor ð°:
- One pipe (input) brings water.
- The control valve (select line) decides which outlet the water will flow through (output).
ð Key Differences between MUX and DEMUX
Feature | Multiplexer (MUX) | Demultiplexer (DEMUX) |
---|---|---|
Inputs | Multiple inputs | One input |
Outputs | One output | Multiple outputs |
Function | Select one input | Select one output |
Also Called | Data Selector | Data Distributor |