Documente Academic
Documente Profesional
Documente Cultură
3
Shift Registers with
Additional Functions
• By placing a 4-input multiplexer in front of
each D flip-flop in a shift register, we can
implement a circuit
with shifts right, shifts left, parallel load,
hold.
• Shift registers can also be designed to shift
more than a single bit position right or left
• Shift register can be designed to shift a
variable number of bit positions specified by
a variable called a shift amount.
4
Multiplexers
• A multiplexer
is a
combinatio MULTIPLEX
nal circuit 2n
ER
Combination 1 Output
that selectsInputs al Logic
binary Circuit
information
from one of
many input
lines and n Selection Lines
directs the
information
to a single 5
4-to-1-Line Multiplexer
D0 Function table
MULTIPLEX S1 S0 Output
D1 ER
4 O u tp u t
Inputs
Combination 0 0 D0
D2 al Logic
Circuit 0 1 D1
D3 1 0 D2
1 1 D3
S0 S1
6
Building MUXes
7
Building
MUXes
• A MUX can be
built using
transmission
gates
• Mutiplexer blocks
can be
combined in
parallel with
common
selection and
enable lines to
perform 8
Implementing Boolean
Functions Using MUX
• Any Boolean function of n-variables
can be implemented using a MUX
with n selection lines
• A more efficient method is using a
MUX with n-1 selection lines.
• Let us take a look at each method
9
Example of Implementing
Boolean Functions Using MUX
10
Example of Implementing
Boolean Functions Using MUX
11
Demultiplexers
• Performs the inverse operation of a
multiplexer
• A combinational circuit that receives
input from a single line and
transmits it to one of 2n possible
output lines
• The selection of the specific output is
controlled by the bit combination of
n selection lines
• Same as a Decoder with an enable –
how? 12