


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, 4 pages Exam Two Solutions 20 October 2008
Problem 1 (3 parts, 22 points) Pass Gate Fun
Part A (6 points) For the pass gate symbol shown on the left below, draw its implementation on the right. Be sure that the named terminals (A, B, C, and D) on the right correspond to the icon terminals on the left.
Part B (8 points) Implement a 2 to 1 multiplexer using only pass gates and inverters. Label all inputs (In 0 , In1 , S) and output (Out).
Out
In
In
Part C (8 points) Using the 2 to 1 mux implemented in part B (in icon form), implement a 4 to 1 mux. Label all inputs (In 0 , In 1 , In2 , In3 , S 0 , S 1 ) and output (Out)
In0 In Out S In1 In
In2 In Out S In3 In
In Out S
In
Out
4 problems, 4 pages Exam Two Solutions 20 October 2008
Problem 2 (3 parts, 28 points) Number Systems
Part A (10 points) Convert the following notations:
decimal notation binary notation 25.125 11001.
123.5 1111011.
250.1875 11111010. hexadecimal notation octal notation FDA.5 (^) 111 111 011 010.010 1 = 7732.
1BE.1 (^) 110 111 110.000 1 = 676.
Part B (12 points) For the 28 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 (28 bits). (0 bits) 0 256M^1 signed fixed-point (20 bits). (8 bits) -512K^ +512K^ 1/ signed fixed-point (16 bits). (12 bits) -32K^ +32K^ 1/4K signed fixed-point (14 bits). (14 bits) -8K^ +8K^ 1/16K
Part C (6 points) A 28 bit single precision floating point representation has a 21 bit mantissa field, a six bit exponent field, and one sign bit. Express answers in decimal, not powers of two.
4 problems, 4 pages Exam Two Solutions 20 October 2008
Part C (12 points) Build a register using two transparent latches plus a 2to1 mux (draw the labeled icon), a pass gate, and an inverter. Again, complete the behavior table. Recall that the CLK signal indicates a full ฮฆ 1 ฮฆ 2 cycle; so the output should be the value at the end of a cycle (with the given inputs).
In Out
In Out
En
Latch
In Out
En
Latch
In Out S
In
In WE RE Clk Out
Part D (8 points) Assume the following signals are applied to your register. Draw the output signal Out. Draw a vertical line where In is sampled. Draw crosshatch where Out is unknown.