M16_2_practice_problems_for_homework7

# M16_2_practice_problems_for_homework7 - 1 Exercise 9.19 An...

This preview shows pages 1–3. Sign up to view the full content.

1. Exercise 9.19 An n-bit p-shifter has ( n+2p ) input bits and n output bits. It can shift right or left (direction input d ) and the distance of shifting can vary from 0 to p . The implementation of a 32-bit 3-shifter using four 8-bit 3-shifters is presented in Figure 9.20. The circuit on the top is a 32-bit 3-shifter that shifts to the left only. The circuit on the bottom of the figure is a bi-directional 32-bit 3-shifter. The input of the circuit was named i 31 to i 0 , and the output z 31 to z 0 .

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
2. Exercise 9.21 Part (a) 12-bit right 3-shifter using 4-bit right shifter modules. The network is shown in Figure 9.21. Figure 9.21: 12-bit right 3-shifter Part (b) using k-bit right p-shifter modules we may implement a larger n -bit right p- shifter using: modules of k -bit right p-shifter. The input vector of the n -bit shifter is: x = ( x n+p-1 , x n+p-2 , … , x n-1 , x n-2 , … , x 1 , x 0 ) Each k -bit shifter module i receives the vector: x ( i ) = ( x ik+p-1 , … , x ik+1 , x ik ) The enable and distance control lines of all shifters are connected together to from the control lines of the larger shifter.
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern