Question: The funnel shifter in Figure 5.64 can perform any N-bit shift or rotate operation. It shifts a 2N-bit input right by k bits. The output
The funnel shifter in Figure 5.64 can perform any N-bit shift or rotate operation. It shifts a 2N-bit input right by k bits. The output Y is the N least significant bits of the result. The most significant N bits of the input are called B and the least significant N bits are called C. By choosing appropriate values of B, C, and k, the funnel shifter can perform any type of shift or rotate. Explain what these values should be in terms of A, shamt, and N for
(a) Logical right shift of A by shamt
(b) Arithmetic right shift of A by shamt
(c) Left shift of A by shamt
(d) Right rotate of A by shamt
(e) Left rotate of A by shamt

2N-1 N-1 k+ N-1 N-1 Figure 5.64 Funnel shifter
Step by Step Solution
3.47 Rating (167 Votes )
There are 3 Steps involved in it
a B 0 C A k shamt b B AN1 the most ... View full answer
Get step-by-step solutions from verified subject matter experts
