๐ง 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 |
