0% found this document useful (0 votes)
62 views45 pages

Logic Design Week 7 Multiplexers - De-Multiplexers

The document provides an overview of multiplexers (MUX), which are digital switches that select one of several input lines to send to a single output. It discusses various types of multiplexers, including 2-to-1, 4-to-1, and 8-to-1 configurations, along with their advantages in reducing circuit complexity and cost. Additionally, it covers the relationship between selector variables and input lines, as well as applications of MUX in communication systems through mux-demux combinations.

Uploaded by

ibrahim4chibly
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
62 views45 pages

Logic Design Week 7 Multiplexers - De-Multiplexers

The document provides an overview of multiplexers (MUX), which are digital switches that select one of several input lines to send to a single output. It discusses various types of multiplexers, including 2-to-1, 4-to-1, and 8-to-1 configurations, along with their advantages in reducing circuit complexity and cost. Additionally, it covers the relationship between selector variables and input lines, as well as applications of MUX in communication systems through mux-demux combinations.

Uploaded by

ibrahim4chibly
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 45

1

 Multiplexers, or muxes, are used to choose between resources.


 A real-life example: In the old days before networking, several
computers could share one printer through the use of a switch.

2
n n
A 2 -to-1 multiplexer sends one of 2 input
lines to a single output line.

A multiplexer has two sets of inputs:


n
2 data input lines.
n select lines, to pick one
n
of the 2 data inputs.

 Themux output is a single bit, which is


n
one of the 2 data inputs.
3
A multiplexer is a digital switch
(automatic switch)
4x1
MUX
C0 s1 s0 Y

C1 0 0 C0
n
2 data input Y 0 1 C1
C2 1 0 C2
C3 1 1 C3

s1 s0
0 0
n select

4
4x1
MUX
s1 s0 Y
C0
C1 0 0 C0
n
2 data input Y 0 1 C1
C2 1 0 C2
C3 1 1 C3

s1 s0
0 1
n select

5
4x1
MUX
s1 s0 Y
C0
C1 0 0 C0
n
2 data input Y 0 1 C1
C2 1 0 C2
C3 1 1 C3

s1 s0
1 0
n select

6
4x1
MUX
s1 s0 Y
C0
C1 0 0 C0
n
2 data input Y 0 1 C1
C2 1 0 C2
C3 1 1 C3

s1 s0
1 1
n select

7
Advantages

Reduces number of wires (no gates)

Reduces circuit complexity & cost


(reduces wires and cost)

Implementation of various circuits using


MUX

8
Types
2X1 Mux

4X1 Mux

8X1 Mux

16X1 Mux

32X1 Mux

9
A 2-to-1 Multiplexer block diagram

10
What is the relation between the selector
variables and the number of input lines?

n : number of input lines


m : number of select lines
𝒎 = 𝐥𝐨𝐠 𝟐 𝒏
Example:

𝒏 = 𝟒 → 𝒎 = 𝐥𝐨𝐠 𝟐 𝟒 = 𝐥𝐨𝐠 𝟐 𝟐𝟐

= 𝟐 𝐥𝐨𝐠 𝟐 𝟐 = 𝟐

11
A 2-to-1 Multiplexer
 Here is a block diagram and abbreviated truth table for a
2-to-1 mux.

12
A 2-to-1 Multiplexer

13
A 2-to-1 Multiplexer

14
A 2-to-1 Multiplexer

15
A 4-to-1 Multiplexer

Y = E S1’ S0’ I0 + E S1’ S0 I1 + E S1 S0’ I2 + E S1 S0 I3

16
4-to-1 MUX Logic Diagram

17
4-to-1 MUX Logic Diagram

18
4-to-1 MUX Logic Diagram

19
4-to-1 MUX Logic Diagram

20
8-to-1 MUX Logic Diagram
8X1 MUX:
𝒏 = 𝟖 → 𝒎 = 𝐥𝐨𝐠 𝟐 𝟖 = 𝐥𝐨𝐠 𝟐 𝟐𝟑 = 𝟑 𝐥𝐨𝐠 𝟐 𝟐 = 𝟑

21
8-to-1 MUX Logic Diagram

22
4-to-1 MUX Logic Diagram

23
4-to-1 MUX Logic Diagram
Create a 4x1 Mux using 2X1 Muxes and no gates

24
4-to-1 MUX Logic Diagram
Create a 4x1 Mux using 2X1 Muxes and some gates

25
8-to-1 MUX Logic Diagram

26
8-to-1 MUX Logic Diagram

27
8-to-1 MUX Logic Diagram

28
8-to-1 MUX Logic Diagram

29
8-to-1 MUX Logic Diagram

30
16-to-1 MUX Logic Diagram

31
8-to-1 MUX Logic Diagram

32
4-to-1 MUX Logic Diagram

33
Mux Example

34
De-multiplexers

35
De-Mux Example

36
De-Mux Example

37
Mux-demux Combination
(Communication Application)

• Thisenables sharing a single communication line


among a number of devices. At any time, only one
source and one destination can use the
communication line.

C0 Y0
C1 4x1 Y YIN 1x4 Y1
MUX DeMUX
C2 Y2
C3 Y3

s1 s0 d1 d0

38
Mux-demux Combination
(Communication Application)

4x1 1x4
MUX DeMUX
C0 Y0
C1 Y YIN Y1
C2 Y2
C3 Y3

s1 s0
0 0

39
Mux-demux Combination
(Communication Application)

4x1 1x4
MUX DeMUX
C0 Y0
C1 Y YIN Y1
C2 Y2
C3 Y3

s1 s0
0 1

40
Mux-demux Combination
(Communication Application)

4x1 1x4
MUX DeMUX
C0 Y0
C1 Y YIN Y1
C2 Y2
C3 Y3

s1 s0
1 0

41
Mux-demux Combination
(Communication Application)

4x1 1x4
MUX DeMUX
C0 Y0
C1 Y YIN Y1
C2 Y2
C3 Y3

s1 s0
1 1

42
Assignment # – Multiplexer / Demultiplexer

Page 1/2

43
Assignment #6 – Multiplexer / Demultiplexer

Page 1/2

44
45

You might also like