



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




4 problems, 6 pages Exam Two 12 March 2003
Instructions: This is a closed book, closed note exam. Calculators are not permitted. If you have a question, raise your hand and I will come to you. Please work the exam in pencil and do not separate the pages of the exam. For maximum credit, show your work. Good Luck!
Your Name ( please print ) ________________________________________________
1 2 3 4 total
4 problems, 6 pages Exam Two 12 March 2003
Problem 1 (7 parts, 44 points) “Waste not, mux not”
This problem will examine the design of a number of common digital blocks using only pass gates and inverters. After an object (e.g., 2-to-1 mux) has been implemented, it can be used, in icon form, for subsequent parts.
Part A (6 points) Begin by implementing a pass gate and an inverter in the light gray boxes below using only N and P type switches (N-FETs and P-FETs). The icons show signal names.
in out
in out
Part B (6 points) Implement a 2-to-1 mux with only pass gates and inverters.
in
out
in
in
in out
mux
Part C (6 points) Implement a two-input AND gate using only a 2-to-1 mux.
out
out
4 problems, 6 pages Exam Two 12 March 2003
Part G (7 points) Implement a toggle cell using only latches, an XOR gate, and an AND gate.
te out toggle clr p1 p
out
p1 p
clr
te
Problem 2 (2 parts, 20 points) “Lucky Sevens”
Part A (12 points) For the seven-bit representations below, determine the most negative value, most positive value, and step size (difference between sequential values). All answers should be expressed in decimal notation. Fractions (e.g., 3/16ths) may be used. All signed representations are two’s complement.
representation most negative value most positive value step size unsigned integer
signed integer
unsigned fixed-point
signed fixed-point
Part B (8 points) For each problem below, compute the operations using the rules of arithmetic, and indicate whether an overflow occurs assuming all numbers are expressed using a seven bit two’s complement fixed-point representation.
result
signed error?
4 problems, 6 pages Exam Two 12 March 2003
Problem 3 (2 parts, 16 points) Numbers and Karnaugh Maps
Part A (10 points) For the following behavior (in map format), derive a simplified products of sums expression using a Karnaugh Map. Circle and list the prime implicants, indicating which are essential. Then write the simplified POS expression.
prime implicants
essential? yes no
simplified POS expression
Part B (6 points) Convert the following octal values into hexadecimal notation:
octal notation hexadecimal notation
753
3162