C7 Digital logic · Practice
Final 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 2.4 V output drives a CMOS input on 3.3 V (); separately, a register holds 11010011.
(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 register's two's-complement value?
Check
A chip's gates are 2-input NANDs, sized to match an inverter of NMOS width 1 and PMOS width 2. It has 50 million such nodes of 1 fF switching with α = 0.2 at 1 GHz on 0.8 V.
(a)
How wide is each NMOS?
(b)
What dynamic power do the nodes take?
Write units the way you normally would: 1.5 W, 1500 mW and 0.0015 kW are the same answer.
Check
Compute 33 − 45 in 8-bit two's complement; give the 8 bits.
Check
Arithmetic and formats.
(a)
What is a 16-bit ripple adder's worst carry delay, at 2 gate delays per bit?
(b)
What value is an IEEE single with sign 0, exponent field 130 and fraction 0.75?
Check
A path has = 40, = 250, = 50, skew up to 30, = 15, = 0 and = 20 (all 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?
Check
A two-flip-flop synchronizer at 100 MHz ( = 0.05 ns, τ = 0.15 ns, = 0.4 ns) sees 1 million input changes a second.
(a)
What is of its MTBF in seconds?
Write units the way you normally would: 1.5 s and 1500 ms are the same answer.
(b)
How many time constants does it allow?
Check
Counters and shift registers on a 100 MHz clock.
(a)
How many states does a maximal 7-bit LFSR have?
(b)
What does a modulo-6 counter put out?
Write units the way you normally would: 1.5 kHz, 1500 Hz and 0.0015 MHz are the same answer.
Check
A 256K × 32 memory is built from 128K × 16 chips; an FPGA beside it has 4-input LUTs.
(a)
How many memory chips?
(b)
How many bits configure one LUT?
Check
Registers a = 6 and b = 3 run one clock of a <= a + b; b <= a;.
(a)
What is a afterward?
(b)
What is b afterward?
Check
A protocol appends a 16-bit CRC to 100-byte messages.
(a)
What is of the chance a random corruption goes undetected?
(b)
How many table lookups does a byte-wide CRC take per message?
Check
A state machine has 11 states; its sequence detector variant must find a 4-bit pattern.
(a)
How many flip-flops for a binary encoding of 11 states?
(b)
How many states for a Moore detector of the 4-bit pattern?
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