4-153
FAST AND LS TTL DATA
4-BIT SHIFTER
(With 3-State Outputs)
The MC54/74F350 is a specialized multiplexer that accepts a 4-bit word
and shifts it 0, 1, 2 or 3 places, as determined by two Select (S0, S1) inputs.
For expansion to longer words, three linking inputs are provided for lower-order bits; thus two packages can shift an 8-bit word, four packages a 16-bit
word, etc. Shifting by more than three places is accomplished by paralleling
the 3-state outputs of different packages and using the Output Enable (OE
)
inputs as a third Select level. With appropriate interconnections, the F350 can
perform zero-backfill, sign-extend or end-around (barrel) shift functions.
• Linking Inputs for Word Expansion
• 3-State Outputs for Extending Shift Range
FUNCTIONAL DESCRIPTION
The F350 is operationally equivalent to a 4-input multiplexer with the inputs
connected so that the select code causes successive one-bit shifts of the data
word. This internal connection makes it possible to perform shifts of 0, 1, 2 or
3 places on words of any length.
A 7-bit data word is introduced at the In inputs and is shifted according to
the code applied to the select inputs S0, S1. Outputs O0–O3 are 3-state, controlled by an active-LOW output enable (OE
). When OE is LOW, data outputs
will follow selected data inputs; when HIGH, the data outputs will be forced to
the high-impedance state. This feature allows shifters to be cascaded on the
same output lines or to a common bus. The shift function can be logical, with
zeros pulled in at either or both ends of the shifting field; arithmetic, where the
sign bit is repeated during a shift down; or end around, where the data word
forms a continuous loop.
LOGIC EQUATIONS
O0 = S
0 S1 I0
+ S0 S1 l–1 + S0 S1 I–2 + S0 S1 I
–3
O1 = S
0 S1 I1
+ S0 S1 I0 + S0 S1 l–1 + S0 S1 I
–2
O2 = S
0 S1 I2
+ S0 S1 I1 + S0 S1 I0 + S0 S1 I
–1
O3 = S
0 S1 I3
+ S0 S1 I2 + S0 S1 I1 + S0 S1 I
0
TRUTH TABLE
Inputs Outputs
OE S
1
S
0
O
0
O
1
O
2
O
3
H X X Z Z Z Z
L L L I
0
I
1
I
2
I
3
L L H I
–1
I
0
I
1
I
2
L H L I
–2
I
–1
I
0
I
1
L H H I
–3
I
–2
I
–1
I
0
H = HIGH Voltage Level Z = High Impedance
L = LOW Voltage Level X = Immaterial
MC54/74F350
4-BIT SHIFTER
(With 3-State Outputs)
FAST SCHOTTKY TTL
J SUFFIX
CERAMIC
CASE 620-09
N SUFFIX
PLASTIC
CASE 648-08
16
1
16
1
ORDERING INFORMATION
MC54FXXXJ Ceramic
MC74FXXXN Plastic
MC74FXXXD SOIC
16
1
D SUFFIX
SOIC
CASE 751B-03
LOGIC SYMBOL
VCC = PIN 16
GND = PIN 8
13 9 10
1
2
3
4
5
6
7
15
14
12
11
OE
O
0
O
1
O
2
O
3
I
–3
I
–2
I
–1
I
0
I
1
I
2
I
3
S1S
0
CONNECTION DIAGRAM
14 13 12 11 10 9
1 2 3 4 5 6
7
16 15
8
V
CC
I
–3
O0O1OE
O
2
S
0
O
3
S
1
I–2I
–1I0I1I2I3
GND