In this paper, we realized Barrel Shifter of 32 bits by using transpost gates, its functions including arithmeticshiftright, logic shift left, logic shift right and rotate right.
利用传输门实现了32位桶式移位寄存器,其具体功能包括算术右移,逻辑左移,逻辑右移和循环右移。
2
In an arithmetic left shift, the bits shifted beyond the range of the result data type are discarded, and the bit positions vacated on the right are set to zero.
在算术左移位中,位元移动的范围若超过结果资料型别会予以舍弃,而且右方空出的位元位置会设定成零。
3
In an arithmeticrightshift, the bits shifted beyond the rightmost bit position are discarded, and the leftmost bit is propagated into the bit positions vacated at the left.