M16_2_practice_problems_for_homework7

M16_2_practice_problems_for_homework7 - 1 Exercise 9.19 An...

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

View Full Document Right Arrow Icon
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 .
Image of page 1

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

View Full Document Right Arrow Icon
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.
Image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    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.

    Student Picture

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

  • Left Quote Icon

    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.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    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.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern