
A barrel shifter shifting input but 1 bit, 2 bit, or 4 bit based on the control signal.
Input Bits and a control signal and you should notice the output shifts by a certain bits based on the control signal.
You may use LEDs for visualization.
| # | Input | Output | Bidirectional |
|---|---|---|---|
| 0 | b0 | b7 | |
| 1 | b1 | b8 | |
| 2 | b2 | b9 | |
| 3 | b3 | b10 | |
| 4 | b4 | b11 | |
| 5 | b5 | b12 | |
| 6 | b5 | b13 | |
| 7 | b6 | b14 |