Docsity

5 Solved Problems on Digital Design - Final Exam | ECE 171, Exams of Microelectronic Circuits

Toggle sidebar
bg1
Final Solutions
December 6 and 8, 1999
ECE 171: Introduction to Digital Design
Dr. McNames
Write your 6-digit identification number and student identification
numbers below. Do not begin the exam or look at the problems
until instructed to do so. Once you begin, you have 100 minutes to
complete the exam.
Once you begin, write your student ID at the top of each page.
This is worth 5 points.
Do not use separate scratch paper. If you need more space, use the
backs of the exam pages.
Problem 1:______ / 25
Problem 2:______ / 25
Problem 3:______ / 24
Problem 4:______ / 21
Problem 5:______ / 15
Student ID:______ / 5
Total:______ /115
6-Digit Identification Number:_____________
Student Identification Number:_____________
pf3
pf4
pf5

Partial preview of the text

Download 5 Solved Problems on Digital Design - Final Exam | ECE 171 and more Exams Microelectronic Circuits in PDF only on Docsity!

Final Solutions

December 6 and 8, 1999

ECE 171: Introduction to Digital Design

Dr. McNames

Write your 6-digit identification number and student identification

numbers below. Do not begin the exam or look at the problems

until instructed to do so. Once you begin, you have 100 minutes to

complete the exam.

Once you begin, write your student ID at the top of each page.

This is worth 5 points.

Do not use separate scratch paper. If you need more space, use the

backs of the exam pages.

Problem 1:______ / 25

Problem 2:______ / 25

Problem 3:______ / 24

Problem 4:______ / 21

Problem 5:______ / 15

Student ID:______ / 5

Total:______ /

6-Digit Identification Number:_____________

Student Identification Number:_____________

1. Latches & Flip Flops (25 Points) Fill in the timing diagrams and label the symbols for the following latches and flip flops. Assume that the propagation delay is 0.

a. (6 pts) SR Latch

S

R

Q

Q

S

R

Q

Q

b. (6 pts) D Latch with enable

D

C

Q

Q

D

C

Q

Q

c. (13 pts) JK Flip Flop, falling edge triggered, asynchronous active-low preset and clear.

J

K

Q

Q

PRE

CLR

CLK

D

C

Q

Q

CLK

PRE

CLR

3. Logic Gates (24 Points)

1 A F

A B

F

A = B

F

A = B

F

F

A > B

A & B

F

A B F

A F

A B F

AB F

A F

a)

b)

c)

d)

e)

f)

g)

h)

i)

j)

k)

l)

m)

n)

o)

p)

IEEE/ANSI

Symbol

Boolean Expression

Name of Gate

Standard Symbol

F = A B XNOR j p

F = A B NOR m k

F = A Inverter a b F = A + B AND l o

F = A B XOR h b

F = A + B OR e f F = A + B NAND c g

F = A Buffer i n

AB F

1 A F

A > B

F AB F

A B F

4. MSI Devices & Data Sheets (21 points) Use the supplemental data sheet to answer the following questions about the SN7490A. a. (1 pts) How many counters are in this device? (Circle one) 1 2 3 4 b. (2 pts) What is the count-length (number of distinct states) of each counter? (Circle all that apply) 1 2 3 4 5 6 7 8 9 10 c. (2 pts) How many flip flops are in this device? (Circle one) 1 2 3 4 5 6 7

8 d. (2 pts) What is the high noise margin? NMH = 0.4 V e. (1 pt) How are the counter(s) triggered? (Circle one) Rising Edge Falling Edge f. (1 pt) What is the maximum clock frequency that could be used to drive any of the counters in this device? fmax = 16 MHz g. (2 pts) What would the outputs be if the inputs R0(1), R0(2), R9(1), and R9(2) where all set high (logic value of 1)? QD = H QC = L QB= L QA = H h. (5 pts) Show how the counter could be connected to output a square-wave that is 10 times longer than the clock input. Show how the pins must be connected including the clock input (CLK), power (Vcc), ground (GND), and the output (Y). Some pins may be left unconnected.

74LS90A

14 13 12 11 10 9 7 8

6

5

4

3

2

1 GND GND

GND GND

Vcc GND

Y

CLK

i. (5 pts) Show how the counter could be connected to output a binary count sequence with a count length of 10. Show how the pins must be connected including the clock input (CLK), power (Vcc), ground (GND), and the outputs (Q3, Q2, Q1, and Q0) where Q3 is the most significant bit (MSB). Some pins may be left unconnected.

74LS90A

14 13 12 11 10 9 7 8

6

5

4

3

2

1 GND GND

GND GND

Vcc GND

Q

CLK

Q

Q Q

5. Subtractors Continued

d. (6 pts) Using as few gates as possible, draw the logic diagram using traditional symbols for the outputs Y and Bo of the subtractor in part c..

C D Y Bi

C

Bo

D Bi C D Bi

e. (3 pts) Using the symbols in parts a. and c. draw a logic diagram for a 4-bit subtractor. Label the inputs C3,C2,C1,C0 and D3,D2,D1,D0 where C3 and D3 are the most significant bits. Label the outputs Bo and Y3,Y2,Y1,Y0 where Y3 is the most significant bit.

D

C0 C-D Y

C-D

Bo

Y

D

C

C-D

Y

D

C

C-D

Y

D

C