摘要 |
An shift circuit is used in an arithmetic unit, for shifting m-bit input data to left or in right, m being a positive integer. The shift circuit includes a latch for temporarily storing the m-bit input data and additional 2n-bit, wherein n is a positive integer; a shift logic block, receiving (m+2n)-bit data from the latch means, for providing (2n+1) number of m-bit shifted data; a sensor for generating a selection signal based on a predetermined shift condition; and a multiplexer, in response to the selection signal, for selecting one of the (2n+1) number of m-bit shifted data as an output signal of the apparatus.
|