


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, 5 pages Exam Two Solutions 10 March 2010 Problem 1 (3 parts, 22 points) Building Blocks Part A (6 points) Implement a 1 to 2 demultiplexor with pass gates and inverters. Be sure to label all inputs and outputs. Part B (8 points) Suppose the circuit below has the following input priority: I 2 > I 3 > I 0 > I 1. Complete the truth table by filling in the input values that would produce the given outputs and derive a simplified expression for O 1. I 3
0 0 x 1 1 0 0 0 0 1 0 1 0 1 x 1 x x 1 1 0 1 0 x x 1 1 1 O 1 = I 2 + I 3 Part C (8 points) Which building block does the following circuit implement? Label all inputs and outputs by filling in the squares. This implements a 4-to-1 mux.
In 0 In 1 En Out 0 Out 1 Out 2 Out 3 A B C D Out S 0 1 S 1
4 problems, 5 pages Exam Two Solutions 10 March 2010 Problem 2 (3 parts, 28 points) Number Systems Part A (10 points) Convert the following notations: binary notation decimal notation 1010 1100.^172 110.1011 6. 101 1111.101 95. hexadecimal notation octal notation A3.B 243. 5F3.DC 2763. Part B (12 points) For the 32 bit representations below, determine the most positive value and the step size (difference between sequential values). All answers should be expressed in decimal notation. Fractions (e.g., 3/16ths) may be used. Signed representations are two’s complement. representation most positive value step size unsigned integer (32 bits). (0 bits)
signed fixed-point (24 bits). (8 bits)
signed fixed-point (28 bits). (4 bits)
signed fixed-point (16 bits). (16 bits)
Part C (6 points) A 24 bit floating point representation has a 15 bit mantissa field, a 8 bit exponent field, and one sign bit. What is the largest value that can be represented (closest to infinity)? 2 127 What is the smallest value that can be represented (closest to zero)? 2 - How many decimal significant figures are supported? (^4)
4 problems, 5 pages Exam Two Solutions 10 March 2010 Problem 4 (4 parts, 26 points) Registers and Latches Part A (6 points) Implement a transparent latch using gates of any type (e.g., AND, inverter, pass gates), but use the minimum number of transistors. Label the inputs In and En , and output Out. Part B (7 points) Design an RS latch using NOR gates only. Label inputs R and S. Label outputs OUT and OUT. Do not attempt to employ mixed logic notation. Also complete the truth table. Part C (5 points) Expand the RS latch to an implementation of a two-phase non-overlapping clock, generated from an input signal In that is a periodic square wave. Use only an RS latch and basic gates (AND, OR, NAND, NOR, and inverters). Label the input In and the outputs F and F2. RSLatch Out Out R S In phi phi Part D (8 points) Assume the following signals are applied to a register with write enable. Draw the output signal Out. Draw a vertical line where In is sampled. Assume Out is initially zero.