A barrel shifter is a digital circuit that can
shift a
data word by a specified number of
bits. It can be implemented as a sequence of
multiplexers. In this implementation, the output of one MUX is connected to the input of the next MUX in a way that depends on the shift distance. The number of multiplexers required is n*log2(n), for an n bit word. Four common word sizes and the number of multiplexers needed are listed below:64-bit — 32-bit — 16-bit — 8-bit —
See more at Wikipedia.org...
<
hardware> A hardware device that can shift or rotate a data word by any number of bits in a single operation. It is implemented like a
multiplexor, each output can be connected to any input depending on the shift distance.
(1995-03-28)