Professional Documents
Culture Documents
ECE 301 - Digital Electronics: Multiplexers, Decoders and Encoders
ECE 301 - Digital Electronics: Multiplexers, Decoders and Encoders
ECE 301 - Digital Electronics: Multiplexers, Decoders and Encoders
A multiplexer has
2
n
data inputs
n control inputs
1 output
A decoder has
n inputs
2
n
outputs
An encoder has
2
n
inputs
n outputs
Issues
d = 0
d = 1
Why is the valid indicator needed?
Spring 2011 ECE 301 - Digital Electronics 19
Priority Encoders
Valid bit
msb
3-to-8
Priority
Encoder
Spring 2011 ECE 301 - Digital Electronics 20
Circuit Design using Multiplexers
Spring 2011 ECE 301 - Digital Electronics 21
Using a 2
n
-input Multiplexer
Use a 2
n
-input multiplexer to realize a logic circuit for
a function with 2
n
minterms.
Use a 2
(n-1)
-input multiplexer to realize a logic circuit
for a function with 2
n
minterms.
Group the rows of the truth table, for the function, into
2
(n-1)
pairs of rows.
For each row in the truth table, for the function, where
the output is 1, sum (or OR) the corresponding
outputs of the decoder.