C7 · Problem set 7
Problem set 7: sequential circuits and timing
These problems use lessons 26 to 34: latches and flip-flops, sequential timing, registers and counters, counter design, shift registers and LFSRs, testing, and the timing lab.
Check
Registers ( = 0.05 ns, setup 0.08 ns) surround 0.4 ns of logic; the capture clock is 0.1 ns late.
(a)
What's the minimum period?
Write units the way you normally would: 1.5 ns, 1500 ps and 0.0015 µs are the same answer.
(b)
What's the maximum frequency?
Check
A short path has = 0.03 ns and 0.02 ns of logic, into a flop with 0.05 ns of hold; the capture clock is 0.08 ns late.
(a)
What's the hold slack?
Write units the way you normally would: 1.5 ns, 1500 ps and 0.0015 µs are the same answer.
(b)
What's the least logic delay that avoids a violation?
Check
A synchronizer has a 2 ns clock, 0.05 ns setup, flops with τ = 40 ps and = 100 ps, and data changing 10 million times a second.
(a)
What's the log10 of its MTBF in seconds, with two stages?
(b)
How many decades does a third stage add?
Check
An n-flip-flop register with n = 6 runs from an 8 MHz clock.
(a)
How many states does it have as a Johnson counter?
(b)
What frequency comes out of any one bit of that Johnson counter?
Write units the way you normally would: 1.5 kHz, 1500 Hz and 0.0015 MHz are the same answer.
Check
A divide-by-10 counter is built from flip-flops.
(a)
How many flip-flops?
(b)
How many unused states must be checked for lock-up?
Check
A flip-flop is at Q and must go to N. Write the T input that does it.
Write AND as · or & (or just AB), OR as +, XOR as ⊕, and NOT as ¬ or a trailing ': A·B + C' works.
Check
A maximal-length LFSR of n = 8 bits runs at 1 MHz.
(a)
What's its period, in clocks?
(b)
How long until it repeats?
Write units the way you normally would: 1.5 s and 1500 ms are the same answer.
Check
A chip yields 0.7 and is tested at 0.95 coverage.
(a)
What defect level ships?
(b)
What coverage would reach 100 ppm?
Check
A design has 5000 scan flops in 8 chains and needs 4000 patterns at a 100 MHz scan clock.
(a)
How long is each chain?
(b)
About how long does the test take?
Write units the way you normally would: 1.5 ms, 1500 µs and 0.0015 s are the same answer.
Check
Logic of 12 ns is pipelined evenly into 6 stages with 0.3 ns of overhead each.
(a)
What's the clock period?
Write units the way you normally would: 1.5 ns, 1500 ps and 0.0015 µs are the same answer.
(b)
What's the latency?
Check
A path sums 9 independent stages of 0.6 ns mean and 0.1 ns standard deviation.
(a)
What's the path's standard deviation?
Write units the way you normally would: 1.5 ns, 1500 ps and 0.0015 µs are the same answer.
(b)
What period gives about 97.7% yield (two standard deviations)?
Check
A flip-flop with 0.05 ns setup and 0.02 ns hold is clocked at 10 ns.
(a)
How wide is the window in which D must be stable?
Write units the way you normally would: 1.5 ns, 1500 ps and 0.0015 µs are the same answer.
(b)
When does it open?
Check
An n-bit ripple counter with n = 8 uses flops of 0.5 ns.
(a)
How long does its top bit take to settle?
Write units the way you normally would: 1.5 ns, 1500 ps and 0.0015 µs are the same answer.
(b)
How many clocks between the top bit's rising edges?
Check
A UART at 9600 baud sends 100 bytes, each with a start and a stop bit.
(a)
How long does it take?
Write units the way you normally would: 1.5 ms, 1500 µs and 0.0015 s are the same answer.
(b)
What's its byte rate?
Check
A divide-by-6 counter counts 000 to 101. Write with 6 and 7 as don't-cares.
Write AND as · or & (or just AB), OR as +, XOR as ⊕, and NOT as ¬ or a trailing ': A·B + C' works.
Have paper and a calculator ready. Work each problem out by hand, then enter the answer. Your first try on each one counts toward your score.
Practice
Keep practicing
13 kinds of problem on this topic, dealt one at a time with new numbers every time, for as long as you like.