The funnel shifter in Figure 5.64 can perform any N-bit shift or rotate operation. It shifts a

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 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

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: