C7 Digital logic · Practice
Problem set 7: sequential circuits and timing
Problems dealt one at a time, with new numbers every time. The kinds you miss come back more often, and you can keep going as long as you like.
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 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?
A kind of problem counts as solid once you've got it right on the first try twice in a row. Back to the lesson · Practice every topic in C7