



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!




Problem 1 (20 points) ____________
Problem 2 (15 points) ____________
Problem 3 (15 points) ____________
Problem 4 (20 points) ____________
Problem 5 (30 points) ____________
Total (100 points) ____________
This is a closed book test. You may use your pencil, eraser, calculator, and brain. You may not use your text book, anyone else’s text book, your class notes, anyone else’s class notes, a “cheat sheet”, a study guide, or anyone else’s brain.
IMPORTANT: When using a MUX, Decoder, ROM, or Flip-Flop in your schematic, be sure to label the block and all the input lines to the block. You must do this to receive full credit.
Problem 1 : Consider the state diagram below. The state machine implementation uses positive edge triggered D flip-flops with a clock-to-Q delay of 5 ns, a hold time of 7 ns, and a setup time of 6 ns. The input forming logic has a 9 ns delay and the output forming logic has a 3 ns delay. The input homer is synchronized to the clock and arrives 10 ns after the positive clock edge. The output DONUTS has no timing constraints relative to the clock.
(a) Determine the fastest clock frequency (in MHz) this machine can operate at.
(b) Is the hold time violated? If so, what ranges of hold time will work with the fastest clock frequency?
DONUTS
homer
homer
homer’
homer’
Problem 3 : Consider the finite state machine shown below. Answer the following:
D Q
Q’
D Q
Q’
input
output
(a) Is this a Mealy or a Moore machine?
(b) Determine the state transition table.
(c) Sketch the state diagram.
Problem 4 Consider the state machine shown below. On the timing diagram on the answer sheet, indicate the state sequence in the boxes and sketch the output signals JAN, MARCIA, and GREG.
State IFL flip-flops
OFL
clk
JAN
MARCIA
GREG
carol mike alice
A
D
B
C
alice/JAN
carol’&mike/GREG
alice’
carol&mike’/MARCIA
mike’&carol’
mike&carol
GREG
clk
mike
carol
states A
JAN
MARCIA
GREG
alice
(b) In this part, we use two D flip-flops and output forming logic as shown below. Determine the Boolean expressions for both the IFL and the OFL and sketch a schematic of both in the appropriate boxes in the diagram below.
A
B
C
CS
CS1’
CS
CS0’
NS
NS
D Q
Q’
D Q
Q’
CS
CS1’
CS
CS0’
IFL OFL