



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 10 March 2010 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 22 28 24 26 100
4 problems, 5 pages Exam Two 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
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. 2 to 4 decoder In 0 In 1 En Out 0 Out 1 Out 2 Out 3
4 problems, 5 pages Exam Two 10 March 2010 Problem 3 (3 parts, 24 points) Adding & Subtracting Part A (12 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 six bit unsigned and six bit two’s complement representations.
4 problems, 5 pages Exam Two 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. 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.