WI08-exam2-sol

WI08-exam2-sol - UNIVERSITY OF CALIFORNIADAVIS DEPARTMENT OF ELECTRICAL COMPUTER ENGINEERING EEC180ADIGITAL SYSTEMS I WINTER 2008 EXAM II SOLUTION

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

View Full Document Right Arrow Icon
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 W INTER 2008 E XAM II — S OLUTION S TUDENT I NFORMATION I NSTRUCTIONS The exam is closed book and notes. A single double-sided cheat sheet is allowed. Print your name and your ID number. There are four problems in the exam. Solve all of them and show your work. If you need more space for your solution, use the back of the sheets. E XAM G RADE Name Hussain Al-Asaad ID Number xxx-xx-xxxx Problem Maximum Points Student Score 12 5 2 5 23 0 3 0 32 5 2 5 42 0 2 0 Total 100 100
Background image of page 1

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

View Full DocumentRight Arrow Icon
UC Davis 2 Hussain Al-Asaad 1. A RITHMETIC C IRCUITS (20 + 5 = 25 POINTS ) 1.1 Design a gate-level circuit C that computes the function , where the input X is a 3-bit two’s complement number represented by X 2 X 1 X 0 and the output Y is a 6-bit two’s complement number represented by Y 5 Y 4 Y 3 Y 2 Y 1 Y 0 . Minimize the number of gates in your design. Assume that the input combination X 2 X 1 X 0 = 100 will never appear at the inputs of C . Moreover, you can assume that the literals and their complements are available. 1.2 Suppose that we want to implement the function , what modifications are needed to the above circuit C. We need to add 1 to the result obtained by the first part of the problem. Since , then we only need to make .
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 04/25/2011 for the course EEC 180A taught by Professor Redinbo during the Spring '08 term at UC Davis.

Page1 / 5

WI08-exam2-sol - UNIVERSITY OF CALIFORNIADAVIS DEPARTMENT OF ELECTRICAL COMPUTER ENGINEERING EEC180ADIGITAL SYSTEMS I WINTER 2008 EXAM II SOLUTION

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