Patent ID: 8761206

Claim:
A data packer comprising: a controller configured to (i) receive output information, wherein the output information specifies an output alignment of data received into the data packer separately from the output information, and (ii) output a shift signal based on the output information; a register configured to store data previously received into the data packer; a first multiplexer configured to receive each of (i) the data received into the data packer and (ii) the data previously received into the data packer and stored in the register, the first multiplexer further configured to select between and pass, based on a selection signal, one of the data received into the data packer, and the data stored in the register; a rotate shifter configured to (i) receive the shift signal, and (ii) rotate-shift, in accordance with the shift signal, the one of the data received into the data packer and the data stored in the register passed by the first multiplexer to output shifted data; a second multiplexer configured to receive each of (i) the shifted data and (ii) the data stored in the register, the second multiplexer further configured to select between and pass at least one of the shifted data output by the rotate shifter, and the data stored in the register.