M16_2_practice_problems_for_homework7

M16_2_practice_problems_for_homework7 - 1 Exercise 9.19 An...

Info iconThis 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 .
Background image of page 1

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

View Full DocumentRight 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
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 01/24/2012 for the course EE M16 taught by Professor Cabric during the Fall '08 term at UCLA.

Page1 / 5

M16_2_practice_problems_for_homework7 - 1 Exercise 9.19 An...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online