ECE 301 – Digital Electronics Multiplexers and Demultiplexers (Lecture #12)
-
Upload
shanon-tyler -
Category
Documents
-
view
249 -
download
3
Transcript of ECE 301 – Digital Electronics Multiplexers and Demultiplexers (Lecture #12)
![Page 1: ECE 301 – Digital Electronics Multiplexers and Demultiplexers (Lecture #12)](https://reader030.fdocuments.net/reader030/viewer/2022020716/56649d765503460f94a571f1/html5/thumbnails/1.jpg)
ECE 301 – Digital Electronics
Multiplexers and Demultiplexers
(Lecture #12)
![Page 2: ECE 301 – Digital Electronics Multiplexers and Demultiplexers (Lecture #12)](https://reader030.fdocuments.net/reader030/viewer/2022020716/56649d765503460f94a571f1/html5/thumbnails/2.jpg)
ECE 301 - Digital Electronics 2
Multiplexers
![Page 3: ECE 301 – Digital Electronics Multiplexers and Demultiplexers (Lecture #12)](https://reader030.fdocuments.net/reader030/viewer/2022020716/56649d765503460f94a571f1/html5/thumbnails/3.jpg)
ECE 301 - Digital Electronics 3
Multiplexer
A multiplexer switches (or routes) data from 2N inputs to one output, where N is the
number of select (or control) inputs.
A multiplexer (mux) is a digital switch.
![Page 4: ECE 301 – Digital Electronics Multiplexers and Demultiplexers (Lecture #12)](https://reader030.fdocuments.net/reader030/viewer/2022020716/56649d765503460f94a571f1/html5/thumbnails/4.jpg)
ECE 301 - Digital Electronics 4
Multiplexer: 2-to-1
2 inputs
1 output
1 select
S = 0 selects I0
S = 1 selects I1
Y = (I0.s') + (I
1.s)
![Page 5: ECE 301 – Digital Electronics Multiplexers and Demultiplexers (Lecture #12)](https://reader030.fdocuments.net/reader030/viewer/2022020716/56649d765503460f94a571f1/html5/thumbnails/5.jpg)
ECE 301 - Digital Electronics 5
Multiplexer: 2-to-1 with Enable
![Page 6: ECE 301 – Digital Electronics Multiplexers and Demultiplexers (Lecture #12)](https://reader030.fdocuments.net/reader030/viewer/2022020716/56649d765503460f94a571f1/html5/thumbnails/6.jpg)
ECE 301 - Digital Electronics 6
Multiplexer: 4-to-1
Y = (I0.s
1's
0') + (I
1.s
1's
0) + (I
2.s
1s
0') + (I
3.s
1s
0)
Two select signals
![Page 7: ECE 301 – Digital Electronics Multiplexers and Demultiplexers (Lecture #12)](https://reader030.fdocuments.net/reader030/viewer/2022020716/56649d765503460f94a571f1/html5/thumbnails/7.jpg)
ECE 301 - Digital Electronics 7
0
w 0
w 1
0
1
w 2
w 3
0
1
f 0
1
s 1
s
Multiplexer: 4-to-1
Select signal for first level of decoders
Select signal for second level of decoders
2-to-1 Muxes
![Page 8: ECE 301 – Digital Electronics Multiplexers and Demultiplexers (Lecture #12)](https://reader030.fdocuments.net/reader030/viewer/2022020716/56649d765503460f94a571f1/html5/thumbnails/8.jpg)
ECE 301 - Digital Electronics 8
Multiplexer: 16-to-1
w 8
w 11
s 1
w 0
s 0
w 3
w 4
w 7
w 12
w 15
s 3
s 2
f
Select signals (2) for second level of decoders
Select signals (2) for first level of decoders
4-to-1 Muxes
0123
01
23
01
23
01
23
01
23
![Page 9: ECE 301 – Digital Electronics Multiplexers and Demultiplexers (Lecture #12)](https://reader030.fdocuments.net/reader030/viewer/2022020716/56649d765503460f94a571f1/html5/thumbnails/9.jpg)
ECE 301 - Digital Electronics 9
Designing Logic Circuits using Multiplexers
Multiplexers
![Page 10: ECE 301 – Digital Electronics Multiplexers and Demultiplexers (Lecture #12)](https://reader030.fdocuments.net/reader030/viewer/2022020716/56649d765503460f94a571f1/html5/thumbnails/10.jpg)
ECE 301 - Digital Electronics 10
Mux: Designing Logic Circuits
• Each row in a Truth Table corresponds to a minterm
– N-input Truth Table
• Each minterm can be mapped to a multiplexer input
– N-input Multiplexer
• For each row in the Truth Table, where the output of the function is one (F = 1),
– Set the corresponding input of the multiplexer to 1
![Page 11: ECE 301 – Digital Electronics Multiplexers and Demultiplexers (Lecture #12)](https://reader030.fdocuments.net/reader030/viewer/2022020716/56649d765503460f94a571f1/html5/thumbnails/11.jpg)
ECE 301 - Digital Electronics 11
Given the following Truth Table:
Design a logic circuit to implement this function, using a 4-to-1 Multiplexer.
Mux: Designing a Logic Circuit
0
1
0
0
1
1
1
0
1
f s 1
0
s 0
1
0
![Page 12: ECE 301 – Digital Electronics Multiplexers and Demultiplexers (Lecture #12)](https://reader030.fdocuments.net/reader030/viewer/2022020716/56649d765503460f94a571f1/html5/thumbnails/12.jpg)
ECE 301 - Digital Electronics 12
Exercise:
Design a circuit, using a 4-to-1 Mux to realize the Boolean expression given below.
FX,Y
= m(0,2)
Mux: Desiging a Logic Circuit
![Page 13: ECE 301 – Digital Electronics Multiplexers and Demultiplexers (Lecture #12)](https://reader030.fdocuments.net/reader030/viewer/2022020716/56649d765503460f94a571f1/html5/thumbnails/13.jpg)
ECE 301 - Digital Electronics 13
Designing Logic Circuits using Multiplexers more efficiently.
Multiplexers
![Page 14: ECE 301 – Digital Electronics Multiplexers and Demultiplexers (Lecture #12)](https://reader030.fdocuments.net/reader030/viewer/2022020716/56649d765503460f94a571f1/html5/thumbnails/14.jpg)
ECE 301 - Digital Electronics 14
Mux: Designing Logic Circuits Efficiently
• Each row in a Truth Table corresponds to a minterm
– N-input Truth Table
• A product term of N-1 variables can be mapped to each of the multiplexer inputs
– (N-1)-input Multiplexer
• For the rows in the Truth Table,
– Group N-1 highest order inputs into pairs
– Define the output of each pair using the Nth input
![Page 15: ECE 301 – Digital Electronics Multiplexers and Demultiplexers (Lecture #12)](https://reader030.fdocuments.net/reader030/viewer/2022020716/56649d765503460f94a571f1/html5/thumbnails/15.jpg)
ECE 301 - Digital Electronics 15
Mux: Designing a Logic Circuit
![Page 16: ECE 301 – Digital Electronics Multiplexers and Demultiplexers (Lecture #12)](https://reader030.fdocuments.net/reader030/viewer/2022020716/56649d765503460f94a571f1/html5/thumbnails/16.jpg)
ECE 301 - Digital Electronics 16
Mux: Designing a Logic Circuit
![Page 17: ECE 301 – Digital Electronics Multiplexers and Demultiplexers (Lecture #12)](https://reader030.fdocuments.net/reader030/viewer/2022020716/56649d765503460f94a571f1/html5/thumbnails/17.jpg)
ECE 301 - Digital Electronics 17
Exercise:
Design a circuit, using a 4-to-1 Mux to realize the Boolean expression given below.
FX,Y,Z
= m(1,2,3,6)
Mux: Designing a Logic Circuit
![Page 18: ECE 301 – Digital Electronics Multiplexers and Demultiplexers (Lecture #12)](https://reader030.fdocuments.net/reader030/viewer/2022020716/56649d765503460f94a571f1/html5/thumbnails/18.jpg)
ECE 301 - Digital Electronics 18
Demultiplexers
![Page 19: ECE 301 – Digital Electronics Multiplexers and Demultiplexers (Lecture #12)](https://reader030.fdocuments.net/reader030/viewer/2022020716/56649d765503460f94a571f1/html5/thumbnails/19.jpg)
ECE 301 - Digital Electronics 19
Demultiplexer
A demultiplexer switches (or routes) data from one input to 2N outputs, where N is the
number of select inputs.
A demultiplexer (mux) is also a digital switch.
A demultiplexer performs the opposite function of a multiplexer.
![Page 20: ECE 301 – Digital Electronics Multiplexers and Demultiplexers (Lecture #12)](https://reader030.fdocuments.net/reader030/viewer/2022020716/56649d765503460f94a571f1/html5/thumbnails/20.jpg)
ECE 301 - Digital Electronics 20
Demultiplexer: 1-to-4
I
s1
s0
O0
O1
O2
O3
01
2
3
S1
S0
O0
O1
O2
O3
0 0 I 0 0 0
0 1 0 I 0 0
1 0 0 0 I 0
1 1 0 0 0 I
O0 = S
1'.S
0'.I
O1 = S
1.S
0'.I
O2 = S
1'.S
0.I
O3 = S
1.S
0.I