You are on page 1of 5

Barrel Rotator (Right)

A3 A2 A1 A0
1 0 1 1

K1 = 0 & k0 = 0

Y3 Y2 Y1 Y0
1 0 1 0 1 0 1 0 1 0 1 1
A3 A2 A1 A0

1 K1 = 1 & k0 = 0
0 1 0 1 0 1 0
Y3 Y2 Y1 Y0
1 0 1 1
A3 A2 A1 A0
Barrel Rotator (Rotate left or right)

Left is “1”, it will


perform left rotation or
else it will perform
right rotation

K1 and K0 are
select signals
Barrel shift or rotate
32 bit logarithmic barrel shifter
Barrel shifter masking logic

You might also like