Patent ID: 6877019

Claim:
A barrel shifter comprising: a first multiplexer stage having input terminals for receiving 32-bit input data and producing first rotated data by rotating the input data by a selectable number of either 0, 1, 2, or 3 bits responsive to first and second control signals (C 0 , C 1 ); a second multiplexer stage coupled to the first multiplexer stage for receiving the first rotated data output from the first multiplexer stage and producing second rotated data by rotating the first rotated data by a selectable number of either 0, 4, 8, or 12 bits responsive to the third and fourth control signals (C 2 , C 3 ); a third multiplexer stage coupled to the second multiplexer stage for receiving the second rotated data from the second multiplexer stage and producing third rotated data by rotating second rotated data by a selectable number of either 0 or 16 bits responsive to first, second, third, fourth, fifth, and sixth control signals (C 0 , C 1 , C 2 , C 3 , C 4 , CMODE), wherein for one value of the sixth control signal, the fifth control signal determines the rotation, while for the other value of the sixth control signal, the first, second, third, and fourth control signals determine the rotation individually for each bit.