{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

SP10-hw4-sol

SP10-hw4-sol - UC Davis 1 Hussain Al-Asaad U NIVERSITY OF C...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon

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

View Full Document Right Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: UC Davis 1 Hussain Al-Asaad U NIVERSITY OF C ALIFORNIA —D AVIS D EPARTMENT OF E LECTRICAL & C OMPUTER E NGINEERING EEC180A—D IGITAL S YSTEMS I Spring 20 10 P ROBLEM S ET 4—S OLUTION 1. P ROBLEM Design a gate-level circuit that computes the function , where the input X is a 3-bit unsigned number represented by X 2 X 1 X and the output Y is a 7-bit unsigned number represented by Y 6 Y 5 Y 4 Y 3 Y 2 Y 1 Y . Minimize the number of gates in your design. 2. P ROBLEM Design a bit slice of the ALU shown below. The ALU performs one of the two operations (summarized in the table below) on the two data inputs A = A n – 1 ...A and B = B n – 1 ...B according to the value of the logic/arithmetic mode input M. Y 2 X 2 = X Y X 2 X 1 X Y 6 Y 5 Y 4 Y 3 Y 2 Y 1 Y 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 Y = Y 1 X = Y 2 = Y 3 X 1 X = Y 4 X 2 X 1 X X 2 X 1 X + X 2 X 1 ⊕ ( ) X = = Y 5 X 2 X 1 X 2 X + X 2 X 1 X + ( ) X 2 X 1 X ( ) = = = Y 6 X 2 X 1 = Y 3 Y 2 Y 1 X 1 X Y 4 X 2 Y 5 Y 6 Y C...
View Full Document

{[ snackBarMessage ]}

Page1 / 3

SP10-hw4-sol - UC Davis 1 Hussain Al-Asaad U NIVERSITY OF C...

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

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