Chargement…
Chargement…
Two controls select direction and rotation mode.
Behavior
rotate=0 shifts in zeros; rotate=1 wraps shifted-out bits.left=1 operates toward MSBs and left=0 toward LSBs.| Signal | Direction | Width | Description |
|---|---|---|---|
data_in | Input | 8 bits | Source word |
amount | Input | 3 bits | Position count |
left, rotate | Input | 1 bit | Direction and mode |
data_out | Output | 8 bits | Result |