C7 Digital logic · Practice
Midterm exam
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
A logic family has = 2.6, = 2, = 1 and = 0.4 V.
(a)
What is the high noise margin?
Write units the way you normally would: 1.5 V, 1500 mV and 0.0015 kV are the same answer.
(b)
What is the low noise margin?
Check
An 8-bit register holds B3 (hex).
(a)
What is its unsigned value?
(b)
What is its two's-complement value?
Check
A 3-input CMOS NOR is sized to match an inverter of NMOS width 1 and PMOS width 2; it drives 10 fF switching with α = 0.3 at 1 GHz on 0.8 V.
(a)
How wide is each PMOS?
(b)
What dynamic power does its output node take?
Write units the way you normally would: 1.5 µW, 1500 nW and 0.0015 mW are the same answer.
Check
Two 8-bit two's-complement numbers 40 and 60 are added.
(a)
What value does the result represent?
(b)
Is the overflow flag set (1 or 0)?
Check
A ripple adder's carry takes 2 gate delays per bit; separately, a lookahead stage has = 1, = 1, = 1, = 1 and = 1.
(a)
What is the 8-bit ripple adder's worst carry delay?
(b)
What is ?
Check
An IEEE 754 single has sign 1, exponent field 128 and fraction 0.25.
(a)
What value does it represent?
(b)
What is its unbiased exponent?
Check
A path has = 50, = 400, = 60, = 30, = 0 and = 25 ps.
(a)
What is the highest clock frequency?
Write units the way you normally would: 1.5 GHz, 1500 MHz and 0.0015 THz are the same answer.
(b)
What is the hold margin (no skew)?
Check
A modulo-12 binary counter divides an 8 MHz clock.
(a)
How many flip-flops?
(b)
What output frequency?
Write units the way you normally would: 1.5 kHz, 1500 Hz and 0.0015 MHz are the same answer.
Check
A 12-bit maximal LFSR is clocked at 10 MHz.
(a)
How many states does it cycle through?
(b)
How long before its sequence repeats?
Write units the way you normally would: 1.5 s and 1500 ms are the same answer.
Check
Shifts and fixed point.
(a)
What value does −72 have after an arithmetic right shift by 1?
(b)
A Q format with 6 fraction bits stores 150. What value is that?
Check
A register pair has = 0.05 ns, setup 0.08 ns, = 0.06 ns and hold 0.02 ns, with logic of 0.5 ns (long) and 0.03 ns (short); the capture clock is 0.05 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 hold slack?
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