Combinational Logic Word Problems
8-Input Barrel Shifter
Specification:
Inputs: D7, D6, …, D0
Outputs: O7, O6, …, O0
Control: S2, S1, S0
shift input the specified number
of positions to the right
D7
D6
D5
D4
D3
D2
D1
D0
O7
O6
O5
O4
O3
O2
O1
O0
.
.
.
S2, S1, S0 = 0 0 0
D7
D6
D5
D4
D3
D2
D1
D0
O7
O6
O5
O4
O3
O2
O1
O0
.
.
.
S2, S1, S0 = 0 0 1
D7
D6
D5
D4
D3
D2
D1
D0
O7
O6
O5
O4
O3
O2
O1
O0
.
.
.
S2, S1, S0 = 0 1 0
Understand the problem:
Previous slide
Next slide
Back to first slide
View graphic version