Chargement…
Chargement…
The barrel shifter performs a logical left shift of 0 to 7 positions in a single cycle. The shift amount is encoded on 3 bits. Vacant positions are filled with '0'.
Purely combinational circuit.
| Signal | Direction | Width | Description |
|---|---|---|---|
i_data | Input | 8 bits | Input data |
i_shift | Input | 3 bits | Shift amount (0 to 7) |
o_result | Output | 8 bits | Shift result |