This preview shows pages 1–4. Sign up to view the full content.
SOLUTION FOR MORE EXERCISES FOR MIDTERM # 2
1.
(FlipFlops)
a.
What is the difference between a latch and a flip flop?
SOLUTION:
Latch is a level sensitive device.
Flipflops are edge sensitive devices.
b.
Implement a JK flipflop with a T flipflop and a minimal ANDORNOT network.
Let us assume that the complements of J, K and Q signals are available. Draw the
logic diagram to show your design.
SOLUTION:
Step 1: write the next state table
JK flipflop next state table
T flipflop excitation table
Step 2: derive the excitation table from the next state tables
Excitation table
This preview has intentionally blurred sections. Sign up to view the full version.
View Full Document Step 3: derive next state logic
T = JQ’ + KQ
2.
(Design Specification)
Write the state table of the sequential circuit as the following figure.
SOLUTION:
From the circuit we directly get
T = x
J = Q1Q0’
K = Q1’+Q0’
y = Q1+Q0
We use these equations to get Q1(t+1) and Q0(t+1):
Finally, the State table:
:
3.
(Sequential Circuit Design)
A state machine is described by the following state equations:
a.
Write the state table
This preview has intentionally blurred sections. Sign up to view the full version.
View Full Document
This is the end of the preview. Sign up
to
access the rest of the document.
This note was uploaded on 11/11/2010 for the course CSE 140 taught by Professor Rosing during the Fall '06 term at UCSD.
 Fall '06
 Rosing

Click to edit the document details