Docsity

Demultiplexor - Computer Engineering - Exam, Exams of Computer Science

Toggle sidebar
bg1
ECE 2030B 1:00pm Computer Engineering Spring 2010
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
1
pf3
pf4
pf5

Partial preview of the text

Download Demultiplexor - Computer Engineering - Exam and more Exams Computer Science in PDF only on Docsity!

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

I 2

I 1

I 0

O 1

O 0

I 3 I 2 I 1 I 0 V O 1 O 0

0 X X

O 1 =

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.

  • 111000
  • 10010 result unsigned error? signed error? Part B (4 points) Complete the truth table below for a full adder. A B Cin Cout Sum 0 0 0 0 0 1 0 1 0 0 1 1 1 0 0 1 0 1 1 1 0 1 1 1 Part C (8 points) Implement the full adder using only NAND, XOR, and inverter gates. Label inputs A , B , and Cin. Label outputs Cout and Sum.

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.

R

S

Out

Out

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.

Φ^1

Φ^2

WE

In

Out

R S OUT OUT