S3 Digital design with HDL · Practice
Every topic, mixed
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.
Topics: all 51
Check
How many flip-flops does a binary-encoded state machine with 12 states need?
Check
How many bits does a counter need to count from 0 to 999?
Check
A register-to-register path has 8 gates of 35 ps, with clock-to-Q 40 ps and setup 40 ps. What's the maximum clock frequency?
Write units the way you normally would: 1.5 GHz, 1500 MHz and 0.0015 THz are the same answer.
Check
On a clock edge, registers a = 6 and b = 1 execute a <= b; b <= a;. What's a afterward?
Check
With blocking assignments a = b; b = a; run in order, starting from a = 6 and b = 1, what's b afterward?
Check
A register file has 4 words of 16 bits. How many flip-flops does it take if built from registers?
Check
A design must run at 500 MHz with 50 ps clock-to-Q and 50 ps setup. How much time is left for logic between registers?
Write units the way you normally would: 1.5 ps and 0.0015 ns are the same answer.
Check
A register-to-register path passes through 12 gates of 25 ps; the flip-flops have 80 ps clock-to-Q and 50 ps setup, and 0 ps is lost to clock skew and jitter.
(a)
What is the fastest clock?
Write units the way you normally would: 1.5 MHz, 1500 kHz and 0.0015 GHz are the same answer.
(b)
And with the logic split evenly into two pipeline stages?
Check
Binary state bits for 11 states?
Check
: 10 gates × 40 ps, 45 ps clock-to-Q, 35 ps setup?
Write units the way you normally would: 1.5 GHz, 1500 MHz and 0.0015 THz are the same answer.
Check
Counter bits to reach 59?
Check
How many 2-to-1 multiplexers does a 24-to-1 multiplexer need?
Check
How many levels deep is a balanced tree of 2-to-1 multiplexers for 24 inputs?
Check
How many outputs does a 5-to- decoder have?
Check
How many 2-input gates does a 40-bit equality comparator take (XNORs plus an AND tree)?
Check
A 16-way selection is written as an if-else chain instead of a balanced case tree. With 25 ps per multiplexer level, how much longer is the chain's worst-case delay?
Write units the way you normally would: 1.5 ps and 0.0015 ns are the same answer.
Check
A design needs a 16-to-1 multiplexer and a 3-to- decoder.
(a)
How many 2-to-1 multiplexers does the multiplexer take as a tree?
(b)
How many levels deep is the tree?
(c)
How many 2-input AND gates does the decoder take if each output is built separately?
Check
2-to-1 muxes for a 12-to-1 mux?
Check
Tree depth for 17 inputs?
Check
Gates in a 16-bit equality comparator?
Check
A divide-by-10 counter runs from a 100 MHz clock. What's its output frequency?
Write units the way you normally would: 1.5 Hz, 1500 mHz and 0.0015 kHz are the same answer.
Check
How many bits does a counter need to divide a 50 MHz clock down to a 3 kHz tick?
Check
How many states does a maximal-length 12-bit LFSR cycle through?
Check
A free-running 6-bit counter runs at 50 MHz. How often does it wrap around?
Write units the way you normally would: 1.5 µs, 1500 ns and 0.0015 ms are the same answer.
Check
A flip-flop has clock-to-Q 40 ps, setup 40 ps and hold 10 ps. How much of every clock period does it cost a path that starts and ends at such flip-flops?
Write units the way you normally would: 1.5 ps and 0.0015 ns are the same answer.
Check
A register file of 16 registers, each with its own write enable, needs how many 2-to-1 multiplexers per bit to implement the enables?
Check
A 50 MHz design needs a 1 kHz tick, and has a 32-bit free-running counter.
(a)
What division ratio makes the tick?
(b)
How many flip-flops does the divider's counter need?
(c)
How often does the free-running counter wrap?
Write units the way you normally would: 1.5 ms, 1500 µs and 0.0015 s are the same answer.
Check
Divide-by-25 from 25 MHz?
Write units the way you normally would: 1.5 Hz, 1500 mHz and 0.0015 kHz are the same answer.
Check
LFSR states, 8 bits?
Check
Wrap time: 10-bit counter at 40 MHz?
Write units the way you normally would: 1.5 µs, 1500 ns and 0.0015 ms are the same answer.
Check
A binary-encoded machine has 11 states. How many unused codes does it leave?
Check
A one-hot machine has 7 states. How many unused (illegal) codes does it leave?
Check
How many states does a Moore machine need to detect a non-overlapping 5-bit pattern?
Check
How many more flip-flops does one-hot use than binary for 13 states?
Check
An 8-bit binary counter wraps from all ones back to zero. How many flip-flops change at once? (A Gray counter would change one.)
Check
A state machine has 7 states.
(a)
How many flip-flops does binary encoding use?
(b)
How many codes does it leave unused?
(c)
How many codes does one-hot encoding leave unused?
Check
Unused binary codes for 10 states?
Check
Illegal one-hot codes for 6 states?
Check
Moore states for a 5-bit pattern?
Check
A 6-bit register is assigned the sum of two values, 200 and 9000 (wider operands, already in range of their own widths). What does it hold after truncation?
Check
A 4-stage shift register is written with blocking assignments in the order stage 0, stage 1, …, stage 4 − 1 inside one clocked block. How many clock cycles of delay does it give from input to the last stage?
Check
A combinational block has 5 outputs. A case statement without a default leaves 1 of them unassigned in some branch; the rest are assigned in every branch. How many latches does synthesis infer?
Check
In an 8-bit signed-unsigned comparison, the signed operand holds −3. Verilog treats the comparison as unsigned. What unsigned value does −3 become?
Check
Write two Python models of an n-stage (8) shift register's clock edge, given the list of stage values q and input d: clock_nonblocking(q, d) (all stages update from the old values) and clock_blocking(q, d) (statements in order stage 0, 1, …, each seeing updates above it). Both return the new list. Starting from all zeros, feed the input sequence 1, 0, 0, … for n + 2 clocks and set out_nb and out_b, the lists of the last stage's value after each clock.
Python 3.14 with numpy and matplotlib, running in your browser. Tab indents; press Esc and then Tab to move on.
Check
An 8-bit register receives 500 + 900. What does it hold?
Check
As an 8-bit unsigned value, what is −5?
Check
A parameterized adder tree sums N = 50 inputs of W = 8 bits with 2-input adders.
(a)
How many adders does it build?
(b)
How many levels deep is it?
(c)
How wide must the sum be?
Check
A module is parameterized by a memory depth D = 1000 and a counter limit M = 64.
(a)
How many address bits does the memory need?
(b)
How many bits must the counter have to hold the value M?
Check
A pipelined adder tree has inputs of 8 bits (L = 3), with a register after every adder.
(a)
How many adders does it have?
(b)
How many flip-flops, if each level's results are one bit wider than the level before?
(c)
What is its latency?
Check
Sum width for 20 inputs of 10 bits?
Check
Counter bits to hold the value 64?
Check
4-input nodes to reduce 30 inputs?
Check
A register-to-register path: 6 gates of 35 ps, clock-to-Q 40 ps, setup 40 ps.
(a)
Minimum clock period?
Write units the way you normally would: 1.5 ps and 0.0015 ns are the same answer.
(b)
Maximum frequency?
(c)
If a register splits the logic into halves (the longer half has gates)?
Check
A design: a 12-state machine, a 64-word × 8-bit register file.
(a)
Flip-flops with binary state encoding?
(b)
With one-hot encoding?
Check
Selecting one of 12 inputs, at 25 ps per 2-to-1 multiplexer level.
(a)
Multiplexers needed?
(b)
Delay as a balanced tree?
Write units the way you normally would: 1.5 ps and 0.0015 ns are the same answer.
(c)
As a priority chain?
Check
A 12-bit equality comparator from 2-input gates of 20 ps.
(a)
Gates?
(b)
Delay (XNOR plus AND tree)?
Write units the way you normally would: 1.5 ps and 0.0015 ns are the same answer.
Check
A 25 MHz clock must produce a 1.3 kHz tick.
(a)
Division ratio?
(b)
Counter bits?
Check
A 10-bit LFSR and a 10-bit binary counter, clocked at 50 MHz.
(a)
LFSR states?
(b)
Counter's wrap period?
Write units the way you normally would: 1.5 ms, 1500 µs and 0.0015 s are the same answer.
Check
A state machine with 14 states.
(a)
Unused codes in binary?
(b)
Extra flip-flops for one-hot?
Check
A detector for a non-overlapping 5-bit pattern.
(a)
Mealy states?
(b)
Moore states?
(c)
Binary flip-flops for the Moore version?
Check
Registers a = 5, b = 1, c = 7 on one clock edge.
(a)
After a <= b; b <= c; c <= a;, what's a?
(b)
And c?
Check
A design must close timing at 100 MHz; flip-flops have 45 ps clock-to-Q and 45 ps setup; gates 50 ps.
(a)
Logic budget per cycle?
Write units the way you normally would: 1.5 ps and 0.0015 ns are the same answer.
(b)
Maximum logic depth, in gates?
Check
An 8-bit binary counter feeds another clock domain; a 3-state machine steps through its states in order.
(a)
Bits that change when the counter wraps to zero?
(b)
Flip-flops for the machine in Gray code?
Check
A parameterized OR of 64 inputs is mapped onto 4-input LUTs, with a register after each level.
(a)
How many LUTs does it take?
(b)
What is its latency?
Check
A module is parameterized with a 1000-word memory, a counter that must hold the value 128, and a sum of 50 values of 16 bits.
(a)
How many address bits?
(b)
How many counter bits?
(c)
How wide is the sum?
Check
A generate loop builds a 48-tap delay line of 8-bit samples with no reset and no middle taps.
(a)
How many flip-flops would it take?
(b)
How many 32-deep shift-register LUTs instead?
Check
An RTL review finds width and sign bugs.
(a)
A 4-bit register receives 300 + 900. What does it hold?
(b)
Compared as 4-bit unsigned, what value does −20 become?
Check
A 32-bit ripple-carry adder has 20 ps of carry delay per bit. What's its worst-case carry delay?
Write units the way you normally would: 1.5 ps and 0.0015 ns are the same answer.
Check
How many prefix levels does a 64-bit Kogge–Stone adder have?
Check
How many prefix cells does a 32-bit Kogge–Stone adder have?
Check
How many prefix levels does a 32-bit Brent–Kung adder have?
Check
A 32-bit carry-select adder uses 4 equal blocks. In units of one bit's carry delay (and one multiplexer per block), what's its delay?
Check
What's the largest number a 12-bit two's complement register holds?
Check
Compare prefix adders for 32 bits.
(a)
How many prefix levels does Kogge–Stone take?
(b)
How many prefix cells?
(c)
How many levels does Brent–Kung take?
(d)
And how many cells?
Check
Ripple delay: 24 bits × 25 ps?
Write units the way you normally would: 1.5 ps and 0.0015 ns are the same answer.
Check
Kogge–Stone cells for 32 bits?
Check
Carry-select delay: 16 bits, 2 blocks?
Check
A 16-bit number is multiplied by an 8-bit number. How wide is the product?
Check
How many partial-product bits (AND gates) does a 16 × 8-bit multiplier form?
Check
How many Dadda reduction stages does it take to bring 19 rows of partial products down to 2?
Check
Radix-4 Booth recoding of a 24-bit signed multiplier gives how many partial-product rows?
Check
Newton–Raphson division starts from a 4-bit-accurate seed. How many iterations reach 24 correct bits?
Check
A restoring divider produces one quotient bit per cycle at 100 MHz. How long does a 32-bit division take?
Write units the way you normally would: 1.5 ns, 1500 ps and 0.0015 µs are the same answer.
Check
An unsigned 16 × 8 multiplier reduces its partial products with a Dadda tree (heights 2, 3, 4, 6, 9, 13, 19, 28, …).
(a)
How many partial-product bits (AND gates) does it form?
(b)
How wide is the product?
(c)
How many reduction stages does the Dadda tree need for its 8 rows?
Check
Product width: 12 × 10 bits?
Check
Dadda stages for 16 rows?
Check
Newton–Raphson iterations: 6-bit seed to 32 bits?
Check
What's the largest value a signed Q4.7 number can hold?
Check
A Q1.7 number is multiplied by a Q2.23 number. How many bits does the exact product need?
Check
How many guard bits does an accumulator need to add 100 full-scale terms without overflow?
Check
An IEEE 754 single has sign 0, exponent field 130 and fraction value 0 (as a binary fraction). What number is it?
Check
What's one ULP for single-precision numbers with exponent field 127?
Check
What SQNR does a full-scale sine get in signed Q1.7?
Check
A signed number is held in Q4.7 format, and an accumulator sums 100 of them.
(a)
What is its resolution?
(b)
What is the most negative value it holds?
(c)
How many guard bits does the accumulator need to never overflow?
Check
Largest Q2.10 value?
Check
Guard bits for 100 terms?
Check
Single: exponent field 128, fraction 0.25?
Check
A floating-point adder adds 1.5 × 2^5 and 1.25 × 2^4.
(a)
How far is the smaller significand shifted?
(b)
What significand comes out after normalization?
(c)
And what exponent?
Check
A barrel shifter moves a 27-bit significand right by any amount from 0 to 27.
(a)
How many multiplexer levels does it need?
(b)
How many 2-to-1 multiplexers?
Check
A floating-point format has a 24-bit significand (hidden bit included).
(a)
How many partial-product bits does its multiplier form?
(b)
What is its unit roundoff?
Check
Alignment shift for exponents 5 and 1?
Check
Levels in a barrel shifter for shifts 0 to 23?
Check
Unit roundoff for a 16-bit significand?
Check
How many address bits does a 1000-word memory need?
Check
A 256-word burst is written at 100 MHz into a FIFO read at 70 MHz. How deep must it be (no margin)?
Check
How many bits does each pointer of a 64-deep FIFO need, to tell full from empty?
Check
How many 32 Kb block RAMs does an 8192 × 16 memory need, assuming each holds 32,768 data bits in the needed shape?
Check
After a 128-word burst at 250 MHz into a FIFO read at 0.5 times that rate, how long does the FIFO take to drain?
Write units the way you normally would: 1.5 ns, 1500 ps and 0.0015 µs are the same answer.
Check
A 64 × 8 register file is built from flip-flops. How many?
Check
A FIFO built on a 2048-word memory takes 64-word bursts written at 200 MHz and read continuously at 75 MHz.
(a)
How many address bits does the memory need?
(b)
How wide is each pointer, to tell full from empty?
(c)
How many words does a burst leave queued at its end?
Check
Address bits for 1000 words?
Check
FIFO depth: 100-word burst, write 150 MHz, read 120 MHz?
Check
Pointer bits for a 64-deep FIFO?
Check
An SRAM cell takes 120 F² at a 16 nm feature size, and a block holds 64 Mb.
(a)
How big is each cell?
(b)
How much area do the block's cells take?
Check
A bitline serves 256 cells of 0.1 fF each plus 50 fF of wire; a cell sinks 30 µA, and the sense amplifier needs 50 mV.
(a)
What is the bitline's capacitance?
Write units the way you normally would: 1.5 fF and 0.0015 pF are the same answer.
(b)
How long does a read take to develop that difference?
Check
A 32 KB SRAM is built from 128 × 256-bit subarrays and read in 64-bit words.
(a)
How many subarrays does it need?
(b)
How wide a column multiplexer does each row need?
(c)
How many word-address bits are there?
Check
A read swings 64 bitlines of 50 fF each by 0.1 V from a 1 V supply; a write drives 64 bitlines rail to rail.
(a)
About how much energy does a read take?
Write units the way you normally would: 1.5 pJ and 0.0015 nJ are the same answer.
(b)
And a write?
Check
Time to 100 mV: 200 cells of 0.15 fF plus 40 fF wire, 25 µA?
Write units the way you normally would: 1.5 ns, 1500 ps and 0.0015 µs are the same answer.
Check
Cell area at 130 F², F = 10 nm?
Check
Area ratio going from 3 to 9 ports, area ∝ ports²?
Check
A 32-bit adder with 25 ps per level.
(a)
Ripple-carry delay?
Write units the way you normally would: 1.5 ps and 0.0015 ns are the same answer.
(b)
Kogge–Stone delay (prefix levels plus 2)?
(c)
Kogge–Stone prefix cells?
Check
A carry-select adder of 32 bits in 4 equal blocks, against Brent–Kung.
(a)
Carry-select delay, in carry delays?
(b)
Brent–Kung prefix levels?
(c)
Brent–Kung prefix cells?
Check
A 16 × 16 multiplier.
(a)
Partial-product bits?
(b)
Product width?
(c)
Dadda stages after radix-4 Booth recoding of the 16-bit multiplier?
Check
Division: Newton–Raphson from a 4-bit seed to 24 bits, or a restoring divider for 64 bits at 500 MHz.
(a)
Newton–Raphson iterations?
(b)
Restoring divider time?
Write units the way you normally would: 1.5 ns, 1500 ps and 0.0015 µs are the same answer.
Check
A Q1.11 sample times a Q2.17 coefficient, summed over 16 taps.
(a)
Exact product width?
(b)
Accumulator width with guard bits?
Check
Formats: signed Q1.9, and an IEEE single with exponent field 133 and fraction 0.5.
(a)
Q1.9 resolution?
(b)
The single's value?
(c)
Its ULP?
Check
An 8-bit two's complement adder with saturation adds 70 and 60.
(a)
Largest representable value?
(b)
The sum with saturation?
Check
A burst of 128 words at 100 MHz into a FIFO read at 90 MHz.
(a)
Depth needed?
(b)
Time to drain afterward?
Write units the way you normally would: 1.5 ns, 1500 ps and 0.0015 µs are the same answer.
Check
A 1024 × 16 memory.
(a)
Address bits?
(b)
32 Kb block RAMs needed?
(c)
Pointer bits if used as a FIFO?
Check
A filter accumulates 8 products, each Q1.23 × Q1.23.
(a)
Accumulator bits to never overflow?
(b)
SQNR if the output is rounded back to Q1.23?
Check
13 rows of partial products.
(a)
Dadda stages?
(b)
Stages for a linear array?
Check
A binary floating-point format has 8 exponent bits and 7 fraction bits.
(a)
What is its exponent bias?
(b)
What is its smallest normal value?
(c)
What is its unit roundoff?
Check
A floating-point adder aligns 24-bit significands, keeping guard, round and sticky bits.
(a)
How wide is the aligned significand?
(b)
How many levels does a barrel shifter for shifts up to p + 2 need?
Check
An SRAM bitline serves 256 cells of 0.15 fF plus 40 fF of wire, with 25 µA of cell current; the sense amplifier needs 80 mV.
(a)
How long does a read take to develop?
Write units the way you normally would: 1.5 ns, 1500 ps and 0.0015 µs are the same answer.
(b)
How much energy do 64 such bitlines take per read at 1 V?
Check
A path has period 1000 ps, clock-to-Q 40 ps, maximum logic 700 ps, setup 50 ps and skew −30 ps. What's its setup slack?
Write units the way you normally would: 1.5 ps and 0.0015 ns are the same answer.
Check
A path has clock-to-Q 40 ps, minimum logic 10 ps, hold 30 ps and skew 60 ps. What's its hold slack?
Write units the way you normally would: 1.5 ps and 0.0015 ns are the same answer.
Check
With clock-to-Q 40 ps, logic 400 ps, setup 40 ps and 50 ps of useful skew, what's the maximum frequency?
Write units the way you normally would: 1.5 GHz, 1500 MHz and 0.0015 THz are the same answer.
Check
A path's hold slack is −25 ps. How many 15 ps delay buffers fix it?
Check
A path declared 3-cycle multicycle has 1400 ps of logic, clock-to-Q 50 ps, setup 30 ps, at a 500 ps period. What's its setup slack?
Write units the way you normally would: 1.5 ps and 0.0015 ns are the same answer.
Check
A path has 50 ps of setup slack before clock uncertainty. With 20 ps of uncertainty, what remains?
Write units the way you normally would: 1.5 ps and 0.0015 ns are the same answer.
Check
A path has 50 ps clock-to-Q, 30 ps setup and 20 ps hold; its logic takes 60 ps at least and 600 ps at most. The clock period is 800 ps, the capture clock arrives 50 ps after the launch clock, and 0 ps of uncertainty is reserved.
(a)
What is the setup slack?
Write units the way you normally would: 1.5 ps and 0.0015 ns are the same answer.
(b)
What is the hold slack?
Check
Setup slack: T = 900, = 45, logic 1100, setup 35, skew −20 ps?
Write units the way you normally would: 1.5 ps and 0.0015 ns are the same answer.
Check
Hold slack: = 35, min logic 20, hold 35, skew 50 ps?
Write units the way you normally would: 1.5 ps and 0.0015 ns are the same answer.
Check
Buffers of 12 ps to fix −15 ps hold slack?
Check
A two-phase latch design has 0.6 ns of logic in its first half cycle and 0.2 ns in its second; latches take 60 ps from D to Q and need 40 ps of setup.
(a)
What is the shortest clock period?
Write units the way you normally would: 1.5 ns, 1500 ps and 0.0015 µs are the same answer.
(b)
At that period, how much does the first half borrow?
(c)
What is the most it could borrow?
Check
A stage has 1 ns of logic. Flip-flops cost 100 ps of clock-to-Q plus setup, the clock has 100 ps of skew, and latches have 60 ps from D to Q.
(a)
What period does the flip-flop design need?
Write units the way you normally would: 1.5 ns, 1500 ps and 0.0015 µs are the same answer.
(b)
And the two-phase latch design, with data arriving while the latches are transparent?
Check
Pulsed latches are transparent for 60 ps, with 10 ps hold and 50 ps contamination clock-to-Q; the clock has 20 ps of skew.
(a)
How short may a path between two of them be?
Write units the way you normally would: 1.5 ps and 0.0015 ns are the same answer.
Check
Two-phase period with 0.5 and 0.1 ns of logic and 50 ps latches?
Write units the way you normally would: 1.5 ns, 1500 ps and 0.0015 µs are the same answer.
Check
Largest borrow at T = 1 ns with 20 ps setup?
Write units the way you normally would: 1.5 ns, 1500 ps and 0.0015 µs are the same answer.
Check
Minimum path between pulsed latches: hold 15, pulse 50, contamination 45 ps?
Write units the way you normally would: 1.5 ps and 0.0015 ns are the same answer.
Check
What's the logical effort of a 3-input NAND gate?
Check
What's the logical effort of a 3-input NOR gate?
Check
A gate with logical effort 1.33, electrical effort 2 and parasitic delay 2: what's its delay in τ?
Check
A path has effort F = 1000. What's the best number of stages?
Check
A path with effort 500 and parasitic delay 8 is built with 3 stages. What's its least delay, in τ?
Check
A path has logical effort 2.22, branching effort 1 and electrical effort 100. What's its path effort?
Check
A stage with logical effort 1.67 drives 20 fF at a stage effort of 4. What should its input capacitance be?
Write units the way you normally would: 1.5 fF and 0.0015 pF are the same answer.
Check
A 3-input gate drives 1 times its own input capacitance.
(a)
What delay does a NAND have?
(b)
And a NOR?
Check
Logical effort of a 3-input NAND?
Check
Best stage count for F = 1000?
Check
Least delay: F = 100, N = 4, P = 9?
Check
A wire of 0.5 mm has 0.5 Ω/µm. What's its resistance?
Write units the way you normally would: 1.5 Ω, 1500 mΩ and 0.0015 kΩ are the same answer.
Check
An unrepeated 1 mm wire has 0.2 Ω/µm and 0.2 fF/µm. What's its distributed RC delay?
Write units the way you normally would: 1.5 ps and 0.0015 ns are the same answer.
Check
A wire is made 3 times longer, unrepeated. By what factor does its delay grow?
Check
A wire of 500 Ω and 200 fF is driven by repeaters whose minimum inverter has = 20 kΩ and = 2 fF. How many repeaters are optimal?
Check
A 2 kΩ driver feeds two wire segments, each 50 Ω with 300 fF lumped at its far end, and a 50 fF load at the end. What's the Elmore delay to the end?
Write units the way you normally would: 1.5 ps and 0.0015 ns are the same answer.
Check
A gate with 1 kΩ output resistance drives a lumped 50 fF load. What's its 50% delay?
Write units the way you normally would: 1.5 ps and 0.0015 ns are the same answer.
Check
A wire 2 mm long has r = 0.2 Ω/µm and c = 0.2 fF/µm.
(a)
What is its resistance?
Write units the way you normally would: 1.5 kΩ, 1500 Ω and 0.0015 MΩ are the same answer.
(b)
What is its capacitance?
(c)
What is its 50% delay as a distributed line, ignoring the driver?
Check
Distributed delay: 0.8 mm at 0.3 Ω/µm, 0.2 fF/µm?
Write units the way you normally would: 1.5 ps and 0.0015 ns are the same answer.
Check
Delay factor for a wire 2.5 times longer?
Check
Lumped 50% delay: 1 kΩ into 30 fF?
Write units the way you normally would: 1.5 ps and 0.0015 ns are the same answer.
Check
A block switches 1 nF with activity 0.15 at 2 GHz and 0.9 V. What's its dynamic power?
Write units the way you normally would: 1.5 W, 1500 mW and 0.0015 kW are the same answer.
Check
A clock network has 100 pF of capacitance, at 3 GHz and 0.7 V. What does it burn?
Write units the way you normally would: 1.5 W, 1500 mW and 0.0015 kW are the same answer.
Check
A design's supply drops from 1.0 V to 0.75 V and its clock to 0.4 of the original. What fraction of its dynamic power remains?
Check
How much energy does the supply deliver each time a 10 fF node charges to 0.5 V and discharges?
Write units the way you normally would: 1.5 fJ and 0.0015 pJ are the same answer.
Check
A chip leaks 10 mA at 0.7 V. What's its leakage power?
Write units the way you normally would: 1.5 mW, 1500 µW and 0.0015 W are the same answer.
Check
A chip's dynamic power is 0.5 W, of which the clock takes 0.3. Clock gating stops the clock to 0.7 of the registers' clock load. How much does it save?
Write units the way you normally would: 1.5 W, 1500 mW and 0.0015 kW are the same answer.
Check
A block has 1 nF of switched logic capacitance with activity 0.1, and a 100 pF clock tree, at 1.1 V and 2 GHz.
(a)
What is the logic's dynamic power?
Write units the way you normally would: 1.5 W, 1500 mW and 0.0015 kW are the same answer.
(b)
What does the clock tree burn?
Check
Dynamic power: α 0.1, 2 nF, 0.95 V, 2.5 GHz?
Write units the way you normally would: 1.5 W, 1500 mW and 0.0015 kW are the same answer.
Check
Remaining power at 0.65 V and 0.3 of the clock?
Check
Energy per transition: 5 fF at 0.6 V?
Write units the way you normally would: 1.5 fJ and 0.0015 pJ are the same answer.
Check
A path: period 800 ps, clock-to-Q 40 ps, logic 15 to 900 ps, setup 40 ps, hold 15 ps, skew −20 ps.
(a)
Setup slack?
Write units the way you normally would: 1.5 ps and 0.0015 ns are the same answer.
(b)
Hold slack?
Check
A slow path (clock-to-Q 40, logic 600, setup 40 ps) in a 600 ps design.
(a)
Its own maximum frequency?
Write units the way you normally would: 1.5 GHz, 1500 MHz and 0.0015 THz are the same answer.
(b)
Setup slack if declared a 3-cycle multicycle path?
Check
Fixes: a path with −12 ps of hold slack; another with 200 ps of setup slack and 50 ps of uncertainty to add.
(a)
15 ps buffers needed for the hold path?
(b)
Setup slack after uncertainty?
Write units the way you normally would: 1.5 ps and 0.0015 ns are the same answer.
Check
A path with logical effort 1, branching 1, electrical effort 200 and parasitic delay 8.
(a)
Path effort?
(b)
Best stage count?
(c)
Delay with 4 stages, in τ?
Check
Gates: a 2-input NAND and a 2-input NOR, each with electrical effort 3; an inverter driving 4 times its input.
(a)
NAND delay (parasitic n), τ?
(b)
NOR delay, τ?
(c)
Inverter delay, τ?
Check
A buffer chain with path effort 300; its last stage has logical effort 1 and drives 400 fF.
(a)
Stage effort with the integer stage count nearest ?
(b)
Input capacitance of the last stage?
Write units the way you normally would: 1.5 fF and 0.0015 pF are the same answer.
Check
A wire of 1 mm with 0.2 Ω/µm and 0.2 fF/µm.
(a)
Distributed delay?
Write units the way you normally would: 1.5 ps and 0.0015 ns are the same answer.
(b)
If 3 times longer?
Check
A wire of 500 Ω and 200 fF, repeated with inverters whose minimum size has = 20 kΩ, = 2 fF.
(a)
Optimal repeater count?
(b)
Optimal repeater size, in minimum inverters?
Check
A 1 kΩ driver feeds two 100 Ω segments, each with 200 fF at its end, plus a 40 fF load.
(a)
Elmore delay to the end?
Write units the way you normally would: 1.5 ps and 0.0015 ns are the same answer.
(b)
As a 50% delay (×0.69)?
Check
A block: 2 nF at activity 0.08, 0.9 V, 2.5 GHz, with a 100 pF clock tree.
(a)
Logic power?
Write units the way you normally would: 1.5 W, 1500 mW and 0.0015 kW are the same answer.
(b)
Clock power?
Check
DVFS from 1.0 V to 0.6 V and the clock to 0.4 of the original; the block leaks 50 mA.
(a)
Fraction of dynamic power remaining?
(b)
Fraction of energy per operation remaining?
(c)
Leakage power at the new voltage (same current)?
Write units the way you normally would: 1.5 mW, 1500 µW and 0.0015 W are the same answer.
Check
A chip: 1 W dynamic (clock share 0.3) and leakage of 0.5 W.
(a)
Saving from gating 0.8 of the clock load?
Write units the way you normally would: 1.5 W, 1500 mW and 0.0015 kW are the same answer.
(b)
Saving from power-gating blocks responsible for 0.6 of the leakage while idle?
Check
A two-phase latch pipeline alternates blocks of 0.6 and 0.2 ns; latches take 50 ps from D to Q and need 40 ps setup.
(a)
What is its shortest period?
Write units the way you normally would: 1.5 ns, 1500 ps and 0.0015 µs are the same answer.
(b)
How much does the slow block borrow there?
Check
A stage with 0.8 ns of logic: flip-flops cost 120 ps (clock-to-Q plus setup) and see 120 ps of skew; latches take 60 ps.
(a)
How much shorter is the latch design's period?
Write units the way you normally would: 1.5 ns, 1500 ps and 0.0015 µs are the same answer.
Check
Pulsed latches are open for 60 ps, with 10 ps hold and 45 ps contamination clock-to-Q; a path's shortest delay is 100 ps.
(a)
What is its hold slack?
Write units the way you normally would: 1.5 ps and 0.0015 ns are the same answer.
Check
A 9-state controller whose worst path is 20 gates of 35 ps, with 40 ps clock-to-Q and 20 ps setup.
(a)
Binary state flip-flops?
(b)
Unused codes?
(c)
Maximum clock?
Write units the way you normally would: 1.5 GHz, 1500 MHz and 0.0015 THz are the same answer.
Check
Selecting one of 12 inputs (25 ps per mux level), and a Moore detector for a 9-bit pattern.
(a)
Extra delay of a priority chain over a balanced tree?
Write units the way you normally would: 1.5 ps and 0.0015 ns are the same answer.
(b)
Detector states?
Check
A 20 MHz clock divided down to a 1.7 kHz tick, and a 19-bit LFSR.
(a)
Divider bits?
(b)
LFSR period?
Check
A 32-bit adder at 20 ps per level.
(a)
How much faster is Kogge–Stone (prefix levels + 2) than ripple?
Write units the way you normally would: 1.5 ps and 0.0015 ns are the same answer.
(b)
How many more prefix cells does Kogge–Stone use than Brent–Kung?
Check
A 16 × 16 multiplier with Booth recoding, and a Newton–Raphson divider from an 8-bit seed to 24 bits.
(a)
Dadda stages after Booth (M/2 rows)?
(b)
Iterations?
Check
Q1.15 samples and coefficients, accumulated over 128 terms.
(a)
Product width?
(b)
Accumulator width?
Check
An IEEE single: exponent field 126, fraction 0.375.
(a)
Value?
(b)
ULP?
Check
A burst of 200 words at 100 MHz into a FIFO read at 90 MHz; and a 9000-word memory.
(a)
FIFO depth?
(b)
Memory address bits?
Check
A path: 900 ps clock, 45 ps clock-to-Q, logic 20 to 1100 ps, setup 35, hold 20, skew −30 ps.
(a)
Setup slack?
Write units the way you normally would: 1.5 ps and 0.0015 ns are the same answer.
(b)
Hold slack?
Check
A path with logical effort 1.5, no branching, electrical effort 50, parasitic delay 8.
(a)
Best stage count?
(b)
Delay with 3 stages?
Check
A 1.5 mm wire at 0.3 Ω/µm and 0.2 fF/µm.
(a)
Distributed delay?
Write units the way you normally would: 1.5 ps and 0.0015 ns are the same answer.
(b)
Wire delay alone if split into 4 equal segments by ideal repeaters?
Check
A block switching 1 nF at activity 0.1, 0.9 V, 2 GHz.
(a)
Dynamic power?
Write units the way you normally would: 1.5 W, 1500 mW and 0.0015 kW are the same answer.
(b)
After DVFS to 0.6 V at 0.5 of the clock?
Check
Registers a = 2, b = 1, c = 8.
(a)
a after a <= b; b <= c; c <= a;?
(b)
a after the blocking a = b; b = c; a = b;?
Check
An 8-bit two's complement adder with saturation adds 90 and 60.
(a)
Largest representable value?
(b)
Saturated result?
Check
A 3-input NOR and a 3-input NAND, each with electrical effort 2.
(a)
How much slower is the NOR, in τ?
(b)
Ratio of their logical efforts?
Check
A design's logic splits into blocks of 0.7 and 0.2 ns. A two-phase latch version uses latches with 60 ps from D to Q; a flip-flop version puts each block in its own stage, with 180 ps of clock-to-Q plus setup.
(a)
What period does the latch version need?
Write units the way you normally would: 1.5 ns, 1500 ps and 0.0015 µs are the same answer.
(b)
How long do the two flip-flop stages take together, at a period set by the slower one?
Check
A 5 ns block is split into 2 balanced stages with 0.15 ns of register overhead each. 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.
Check
The same kind of pipeline: 5 ns of logic in 3 stages with 0.15 ns overhead. What's its latency?
Write units the way you normally would: 1.5 ns, 1500 ps and 0.0015 µs are the same answer.
Check
How many times higher is the throughput of a 4-stage pipeline than the unpipelined block (3 ns of logic, 0.2 ns overhead per register)?
Check
A pipeline's stages take 1, 0.6 and 1.3 ns, with 0.1 ns of register overhead. What's its maximum clock?
Write units the way you normally would: 1.5 MHz, 1500 kHz and 0.0015 GHz are the same answer.
Check
A feedback loop has 3 ns of logic and 2 register(s) around it. What's the shortest possible clock period?
Write units the way you normally would: 1.5 ns, 1500 ps and 0.0015 µs are the same answer.
Check
What throughput does a 4 ns block approach as it's pipelined ever deeper, with 0.1 ns of register overhead?
Write units the way you normally would: 1.5 GHz, 1500 MHz and 0.0015 THz are the same answer.
Check
A block of 4 ns of logic is split into 2 balanced stages, each with 0.2 ns of register overhead.
(a)
What is 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 throughput does it reach?
(c)
What is the latency?
Check
Period: 3 ns in 4 stages, 0.12 ns overhead?
Write units the way you normally would: 1.5 ns, 1500 ps and 0.0015 µs are the same answer.
Check
Latency: 2.5 ns in 3 stages, 0.2 ns overhead?
Write units the way you normally would: 1.5 ns, 1500 ps and 0.0015 µs are the same answer.
Check
Iteration bound: 2.5 ns, 2 registers?
Write units the way you normally would: 1.5 ns, 1500 ps and 0.0015 µs are the same answer.
Check
A synchronizer allows 600 ps of settling, with τ = 15 ps, = 20 ps, a 1500 MHz clock and data at 200 MHz. What's its MTBF?
Write units the way you normally would: 1.5 s and 1500 ms are the same answer.
Check
By what factor does a second synchronizer flip-flop improve the MTBF at 1000 MHz, with τ = 15 ps?
Check
A crossing must reach an MTBF of 1000 years, with τ = 15 ps, = 20 ps, a 2000 MHz clock and data at 100 MHz. How much settling time must the synchronizer allow?
Write units the way you normally would: 1.5 ps and 0.0015 ns are the same answer.
Check
A level from another domain must be caught by a 500 MHz clock whose flip-flops need a 30 ps setup-and-hold window. How long must the level be held to guarantee at least one clean sample?
Write units the way you normally would: 1.5 ps and 0.0015 ns are the same answer.
Check
In a req/ack handshake, the request crosses a 2-flop synchronizer into a 100 MHz domain, which takes one more cycle to capture the data and raise acknowledge. The acknowledge crosses a 3-flop synchronizer back into a 400 MHz domain, which takes one more cycle to see it. Counting whole cycles, how long does one transfer take?
Write units the way you normally would: 1.5 ns, 1500 ps and 0.0015 µs are the same answer.
Check
A 4-bit binary counter counts through a full cycle: increments, including the wrap back to zero. How many bit changes does it make in total?
Check
A synchronizer flip-flop on a 1 GHz clock has τ = = 30 ps and samples data changing at 10 MHz; each stage leaves its period less 100 ps for resolution.
(a)
What is the MTBF with one stage?
Write units the way you normally would: 1.5 s and 1500 ms are the same answer.
(b)
And with two stages?
Check
MTBF: 400 ps settling, τ 20 ps, 1200 MHz clock, 150 MHz data?
Write units the way you normally would: 1.5 s and 1500 ms are the same answer.
Check
Improvement from one more flop at 700 MHz, τ = 18 ps?
Check
Handshake transfer time: request through 2 flops at 125 MHz plus a cycle, acknowledge through 3 flops at 200 MHz plus a cycle?
Write units the way you normally would: 1.5 ns, 1500 ps and 0.0015 µs are the same answer.
Check
A coverpoint has 100 equally likely bins. What percentage is covered, on average, after 50 random tests?
Check
About how many random tests does it take, on average, to cover all 128 bins of a coverpoint? (Use .)
Check
A cross of an 8-bin and a 3-bin coverpoint is filled by random tests. About how many tests are expected?
Check
A corner case happens with probability 0.0001 per random test. How many tests give a 0.9 probability of hitting it at least once?
Check
How long does it take to test a 16-bit adder exhaustively (every pair of operands) at 1 million tests per second?
Write units the way you normally would: 1.5 s and 1500 ms are the same answer.
Check
The last 2 of 64 bins are still empty. How many more random tests are expected to fill them?
Check
A coverpoint has 100 equally likely bins; 50 random tests are run.
(a)
What coverage do they reach?
(b)
About how many tests are expected to fill every bin?
Check
Coverage of 40 bins after 80 random tests?
Check
Tests to fill 100 bins?
Check
Tests to hit a 0.002 case with confidence 0.95?
Check
A block with 40 input bits is to be simulated exhaustively at 1000000 vectors per second.
(a)
How many input vectors are there?
(b)
How long would it take?
Check
A design with 1000 flip-flops and 10000 gates is unrolled 50 cycles for bounded model checking, with about three clauses per gate.
(a)
About how many variables does the solver see?
(b)
About how many clauses?
Check
A one-hot state machine has 12 states, one flip-flop each.
(a)
How many states can its flip-flops encode?
(b)
What fraction of them are reachable from reset?
Check
Exhaustive time for 48 input bits at per second?
Check
Variables for 500 flip-flops and 20000 gates unrolled 100 cycles?
Check
Random tests for 99% confidence of hitting one 16-bit value?
Check
How many configuration bits does a 5-input LUT store?
Check
How many distinct functions can a 3-input LUT implement?
Check
A 24-input AND is built from 4-input LUTs. How many LUTs does it take?
Check
How many levels of 4-input LUTs does a 24-input AND tree need?
Check
A 2100 × 20 memory is built from block RAMs configured as 2048 × 18. How many blocks does it take?
Check
A 32 × 16-bit multiply is built from DSP slices that each multiply 27 bits by 18 bits. How many slices does it take?
Check
A path passes through 4 LUT levels, each 0.1 ns plus 0.5 ns of routing, with 0.3 ns clock-to-Q and 0.05 ns setup. What's its maximum clock?
Write units the way you normally would: 1.5 MHz, 1500 kHz and 0.0015 GHz are the same answer.
Check
A 32-input AND is built from 4-input LUTs, and a 5000 × 40 memory goes into block RAMs set up as 2K × 18.
(a)
How many LUTs does the AND take?
(b)
How many levels deep is it?
(c)
How many block RAMs does the memory take?
Check
Configuration bits in a 6-LUT?
Check
4-LUTs for a 40-input AND?
Check
Block RAMs for 2500 × 24 in a 4096 × 9 shape?
Check
A 3 ns block is split into 3 balanced stages, each with 0.15 ns of register overhead.
(a)
Clock period?
Write units the way you normally would: 1.5 ns, 1500 ps and 0.0015 µs are the same answer.
(b)
Latency?
(c)
Throughput gain over the unpipelined block?
Check
Three pipeline stages of 0.8, 1.1 and 0.9 ns with 0.08 ns of register overhead.
(a)
Maximum clock as built?
Write units the way you normally would: 1.5 MHz, 1500 kHz and 0.0015 GHz are the same answer.
(b)
Maximum clock after retiming balances them perfectly?
Check
A loop with 3 ns of logic and 2 registers, in a design that wants 500 MHz.
(a)
Iteration bound?
Write units the way you normally would: 1.5 ns, 1500 ps and 0.0015 µs are the same answer.
(b)
Fastest clock the loop allows?
Check
A synchronizer flip-flop: τ = 18 ps, = 20 ps, 1500 MHz clock, data at 150 MHz, and 400 ps of settling.
(a)
MTBF?
Write units the way you normally would: 1.5 s and 1500 ms are the same answer.
(b)
Improvement from a second flip-flop?
Check
A crossing must reach an MTBF of 100 years, with τ = 15 ps, = 20 ps, a 1200 MHz clock and 200 MHz data.
(a)
Settling time needed?
Write units the way you normally would: 1.5 ps and 0.0015 ns are the same answer.
(b)
Settling time one extra flip-flop adds?
Check
A req/ack handshake: request through 2 flops at 100 MHz plus one cycle; acknowledge through 3 flops at 250 MHz plus one cycle. Each transfer carries 8 bits.
(a)
Time per transfer?
Write units the way you normally would: 1.5 ns, 1500 ps and 0.0015 µs are the same answer.
(b)
Throughput?
Check
A 6-bit counter's pointer crosses clock domains.
(a)
Total bit changes over a full binary cycle?
(b)
Over a full Gray cycle?
Check
A coverpoint with 40 equally likely bins.
(a)
Coverage after 100 random tests?
(b)
Expected tests to fill it (use )?
Check
A corner case of probability 0.0005 per test, and a 14-bit adder tested at 50 million tests per second.
(a)
Tests for confidence 0.9?
(b)
Exhaustive test time for the adder?
Write units the way you normally would: 1.5 s and 1500 ms are the same answer.
Check
A 40-input XOR on 4-input LUTs.
(a)
LUTs?
(b)
Levels?
Check
A 3100 × 30 memory in 4096 × 9 block RAMs, and a 54 × 54 multiply on 27 × 18 DSP slices.
(a)
Block RAMs?
(b)
DSP slices?
Check
An FPGA path: 3 LUT levels at 0.1 ns plus 0.55 ns routing each, 0.25 ns clock-to-Q, 0.05 ns setup.
(a)
Maximum clock?
Write units the way you normally would: 1.5 MHz, 1500 kHz and 0.0015 GHz are the same answer.
(b)
Maximum clock after pipelining into 3 stages (whole LUT levels per stage, the largest stage setting the clock)?
Check
A block with 2000 flip-flops and 50000 gates is unrolled 60 cycles for bounded model checking.
(a)
About how many variables?
(b)
About how many clauses at three per gate?
Check
A block with 48 input bits could be simulated exhaustively at 1 × 10⁷ vectors a second.
(a)
How long would that take?
Check
A one-hot state machine has 10 states.
(a)
How many of its flip-flop codes are illegal?
(b)
What fraction of its codes are reachable?
Check
How many 150 mm² dies fit on a 300 mm wafer, by the formula with the edge correction?
Check
With 0.2 defects per cm², what's the Poisson yield of an 80 mm² die?
Check
A 300 mm wafer costs 5000 dollars and has 0.3 defects per cm². What does a working 80 mm² die cost, in dollars?
Check
An ASIC needs 3 million dollars of NRE and costs 3 dollars a unit; an FPGA doing the same job costs 60 dollars. Above what volume is the ASIC cheaper?
Check
Synthesis reports 2.5 mm² of cells. At 0.6 utilization, what core area is needed?
Check
The clock period is 1.6 ns, an input arrives 0.2 ns after the clock edge (set_input_delay), and the capturing flip-flop needs 0.1 ns of setup. How much time is left for logic?
Write units the way you normally would: 1.5 ns, 1500 ps and 0.0015 µs are the same answer.
Check
A block has 2 mm² of standard cells, and a NAND2 is 0.4 µm². About how many million NAND2-equivalent gates is it?
Check
A 200 mm wafer costs 15000 dollars and carries 25 mm² dies at a defect density of 0.5 per cm².
(a)
About how many dies fit on it?
(b)
What is the Poisson yield?
(c)
What does each good die cost, in dollars?
Check
Dies of 100 mm² on a 300 mm wafer?
Check
Poisson yield: 0.08 /cm², 100 mm²?
Check
Break-even volume: 2 million dollars of NRE, 4 dollars per ASIC, 80 dollars per FPGA?
Check
A 64-tap FIR runs at 48 kHz. How many million multiply-accumulates per second does it need?
Check
A 96-tap FIR filters a 2 MHz stream on a 400 MHz clock. How many multipliers are needed if they're time-shared?
Check
A linear-phase FIR has 64 symmetric taps. How many multiplies does each output need?
Check
A 500-tap FIR has 12-bit data and 14-bit coefficients. How wide must its accumulator be to never overflow?
Check
A CIC decimator has 4 stages, decimation 8 and differential delay 1, with 14-bit input. How wide must its registers be?
Check
A 20-tap moving average runs at 48 kHz. Where is its first null?
Write units the way you normally would: 1.5 kHz, 1500 Hz and 0.0015 MHz are the same answer.
Check
A linear-phase FIR of 63 taps runs at 8 kHz. What's its delay?
Write units the way you normally would: 1.5 µs, 1500 ns and 0.0015 ms are the same answer.
Check
A CORDIC runs 12 iterations, i = 0 to 12 − 1, with micro-rotations of . What's the smallest rotation angle, in degrees?
Check
A 64-tap FIR takes 16-bit samples and 16-bit coefficients at 1 MS/s, on a 300 MHz clock.
(a)
How many multiply-accumulates a second does it need, in millions?
(b)
How many multipliers does it need?
(c)
How wide must the accumulator be to never overflow?
Check
Multipliers for 48 taps at 4 MHz on a 500 MHz clock?
Check
Accumulator for 300 taps, 10-bit data, 12-bit coefficients?
Check
CIC width: 2 stages, R = 16, 16-bit input?
Check
How much line-buffer memory does a 5 × 5 filter need on a 640-pixel-wide image with 12-bit pixels, in KB (1024 bytes)?
Check
A stream carries 1920 × 720 active pixels at 120 frames per second. How many megapixels per second does a one-pixel-per-clock pipeline process (ignoring blanking)?
Write units the way you normally would: 1.5 MHz, 1500 kHz and 0.0015 GHz are the same answer.
Check
A 5 × 5 separable filter processes 124 million pixels per second.
(a)
How many billion multiplies per second would a direct 2D convolution need?
(b)
And the separable version?
Check
A frame buffer holds 1920 × 1080 images at 4 bytes per pixel, written and read once per frame at 60 frames per second. What bandwidth does it need?
Check
A 5 × 5 window pipeline on a 1920-wide image has a total line time (with blanking) of 4400 pixel clocks. About how many clocks does its output lag the input, counting the rows of delay to the window's center?
Check
Model a streaming 3 × 3 box filter. Generate an image img = numpy.random.default_rng(seed).integers(0, 256, (H, W)) with H = 6, W = 8. Write stream_box(img), which reads pixels in raster order one at a time, keeps two line buffers (Python lists) of the previous rows and a 3-column window, and outputs the integer sum of each fully valid 3 × 3 window (no padding), returning an (H - 2) × (W - 2) array. Set out and ref, the same sums computed directly with slicing, and match = bool((out == ref).all()).
Python 3.14 with numpy and matplotlib, running in your browser. Tab indents; press Esc and then Tab to move on.
Check
How many KB of line buffers does a 3 × 3 filter need on 1024-wide 8-bit images?
Check
By what factor does a separable 7 × 7 filter cut the multiplies per pixel?
Check
A loop of 1024 iterations, each 5 cycles deep, is pipelined at II = 4 on a 300 MHz clock.
(a)
How many cycles does it take?
(b)
At what rate does it complete iterations, in millions per second?
Write units the way you normally would: 1.5 MHz, 1500 kHz and 0.0015 GHz are the same answer.
Check
A loop body reads an array 4 times per iteration; the array's memory has 1 port(s).
(a)
What is the smallest initiation interval the memory allows?
(b)
And after partitioning the array into 4 memories, if the reads spread evenly?
Check
A loop-carried dependence passes through a chain of operations 4 cycles long to an iteration 2 later. The loop runs 1000 iterations, each 10 cycles deep.
(a)
What is the smallest initiation interval?
(b)
How many cycles does the loop take at that interval?
Check
A loop of 1024 iterations, 10 cycles deep, is unrolled by 2 and pipelined at II = 1.
(a)
How many cycles does it take?
(b)
How much faster is that than without unrolling?
Check
Cycles for 500 iterations at II = 1, depth 9?
Check
Interval for 5 reads per iteration through 2 ports?
Check
Interval for a 5-cycle recurrence at distance 2?
Check
A reduction tree combines N = 100 values of 16 bits with 4-input adders, registered after each level.
(a)
How many adders does it need?
(b)
What is its latency?
(c)
How wide must the final sum be?
Check
A multiply-accumulate unit sums 1000 products of a 12-bit and an 8-bit signed value.
(a)
How wide is each product?
(b)
How wide must the accumulator be to never overflow?
Check
A binary floating-point format has 5 exponent bits (biased) and 7 fraction bits, with IEEE-style normal numbers.
(a)
What is its largest finite value?
(b)
What is its smallest normal value?
(c)
What is the spacing between 1 and the next number?
Check
A floating-point adder subtracts 1.5 × 2^2 from 1.25 × 2^7.
(a)
How far is the smaller operand shifted?
(b)
What significand does the subtraction give before normalization?
(c)
What value is the result?
Check
An SRAM column of 1024 cells (0.15 fF each, 30 fF of wire, 30 µA of cell current, 100 mV to sense) can be split into banks; each level of bank multiplexing adds 200 ps.
(a)
How long does a read take unbanked?
Write units the way you normally would: 1.5 ns, 1500 ps and 0.0015 µs are the same answer.
(b)
And split into 8 banks?
Check
A 16 KB SRAM uses 256 × 512 subarrays, read in 64-bit words.
(a)
How many address bits choose the subarray?
(b)
How many choose the row?
(c)
How many drive the column multiplexer?
Check
A register-file cell is 3 by 4 tracks before ports, plus one track each way per port; it grows from 4 to 12 ports.
(a)
By what factor does each cell's area grow?
Check
A two-phase latch pipeline alternates blocks of 0.9 ns and 0.3 ns; latches take 60 ps from D to Q and need 50 ps of setup.
(a)
What is the shortest clock period?
Write units the way you normally would: 1.5 ns, 1500 ps and 0.0015 µs are the same answer.
(b)
What would a flip-flop pipeline with one stage per block need, with 100 ps clock-to-Q and 30 ps setup?
(c)
How much does the slow block borrow in the latch design at its shortest period?
Check
A pulsed-latch design has 50 ps pulses, 15 ps hold and 40 ps contamination clock-to-Q. Its shortest path is 120 ps.
(a)
What is its hold slack?
Write units the way you normally would: 1.5 ps and 0.0015 ns are the same answer.
Check
Bounded model checking unrolls a block with 500 flip-flops and 20000 gates to depth 80.
(a)
About how many variables does the solver see?
(b)
About how many clauses, at three per gate per cycle?
Check
A bug needs one specific value on a 20-bit field; random tests run at 1000000 per second.
(a)
How many tests give 99% confidence of hitting it?
(b)
How long does that take?
Write units the way you normally would: 1.5 s and 1500 ms are the same answer.
Check
An HLS loop of 512 iterations, 6 cycles deep, reads an array 6 times per iteration from a dual-port memory and has a loop-carried chain of 5 cycles at distance 1.
(a)
What initiation interval can it reach?
(b)
How many cycles does the loop take?
Check
An HLS loop of 1024 iterations, 12 cycles deep, is unrolled by 4 and pipelined at II = 1 on a 400 MHz clock, with the arrays partitioned to match.
(a)
How many cycles does it take?
(b)
How long is that?
Write units the way you normally would: 1.5 µs, 1500 ns and 0.0015 ms are the same answer.
(c)
How many array partitions must each array have for one element per copy per cycle, with single-port memories?
Check
A pipelined CORDIC must compute sines and cosines to 16 bits, one result per cycle at 200 MHz, with one iteration per stage (about one bit per iteration).
(a)
How many stages does it need, if n iterations give an error under ?
(b)
What is its latency?
Write units the way you normally would: 1.5 ns, 1500 ps and 0.0015 µs are the same answer.
Check
A floating-point multiplier for 24-bit significands is built from 18 × 18-bit hard multipliers tiled over the partial products, and it must deliver 1 result(s) per cycle.
(a)
How many hard multipliers does one significand product need?
(b)
How many in all?
Check
A 5 × 5 filter streams 1280 × 720 video with 10-bit pixels at 60 frames per second.
(a)
How much line-buffer memory does it need?
(b)
How many megapixels per second must it process, ignoring blanking?
Write units the way you normally would: 1.5 MHz, 1500 kHz and 0.0015 GHz are the same answer.
Check
A 64-bit bus runs at 100 MHz. What's its peak bandwidth?
Check
Bursts of 8 beats each cost 2 cycles of overhead. What fraction of peak bandwidth is sustained?
Check
A ready signal takes 2 cycles to reach the sender, and data takes 1 cycles in flight. How many words must the receiver absorb after it drops ready, to lose nothing at full rate?
Check
A credit-based link has a 4-cycle credit return and 10 cycles of data latency, and the receiver has only 4 buffer slots. What fraction of full rate can it sustain?
Check
A link runs 1 lane(s) at 5 Gb/s each, with a line code of efficiency 0.9846. What's its payload rate?
Write units the way you normally would: 1.5 Gb/s, 1500 Mb/s and 0.0015 Tb/s are the same answer.
Check
A DMA engine moves 65536 bytes over a bus of 8-byte beats, with bursts of at most 256 beats. How many bursts does it take?
Check
A 64-bit bus at 200 MHz moves 64-beat bursts, each with 4 cycles of overhead.
(a)
What is its peak bandwidth?
(b)
What fraction of cycles carry data?
(c)
What bandwidth does it sustain?
Check
Peak bandwidth of a 16-bit bus at 150 MHz?
Check
Efficiency of 8-beat bursts with 3 overhead cycles?
Check
Skid buffer depth: 2-cycle ready, 2-cycle data?
Check
8 masters share a resource through a round-robin arbiter; each grant holds it for 1 cycles at 500 MHz.
(a)
What is the longest a master can wait?
(b)
How long is that in time?
Write units the way you normally would: 1.5 ns, 1500 ps and 0.0015 µs are the same answer.
Check
Three requesters share a 3.2 GB/s link by weighted round-robin with weights 2, 1 and 3.
(a)
What share does the first get when all are busy?
(b)
What bandwidth is that?
Check
An arbiter serves 8 requesters.
(a)
How much state does a matrix arbiter need?
(b)
And a round-robin pointer?
Check
Under fixed priority, requesters 0 and 1 ask independently in fractions 0.3 and 0.2 of cycles; requester 2 asks in 0.3.
(a)
At most what share of cycles can requester 2 win?
(b)
What share does it actually win, if its own requests are independent too?
Check
Round-robin worst-case wait for 6 masters, 2-cycle grants?
Check
Weighted round-robin share for weight 3 among 3, 1, 4?
Check
Matrix arbiter bits for 8 requesters?
Check
A design has 50000 flip-flops in 16 scan chains. How long do 20000 patterns take at a 100 MHz shift clock?
Write units the way you normally would: 1.5 s and 1500 ms are the same answer.
Check
A process yields 0.8 good chips, and the test's fault coverage is 0.95. What's the defect level, by Williams–Brown?
Check
How many check bits does a SECDED code need for 16 data bits?
Check
Each of three redundant copies works with probability 0.9. What's the reliability of the TMR system with a perfect voter?
Check
A BIST signature register is 16 bits wide. About what's the probability that a faulty circuit's responses alias to the good signature?
Check
50000 chips each hold 32 Mbit of SRAM with 200 FIT per Mbit. What's the mean time between soft errors across them?
Check
A chip has 50000 flip-flops in 16 scan chains and needs 10000 patterns shifted at 100 MHz. Its yield is 0.8, and the patterns cover a fraction 0.95 of the faults.
(a)
How long is each chain?
(b)
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.
(c)
What fraction of shipped parts are bad?
Check
Scan time: 100000 flops, 32 chains, 10000 patterns, 100 MHz?
Write units the way you normally would: 1.5 s and 1500 ms are the same answer.
Check
Defect level: yield 0.6, coverage 0.98?
Check
TMR reliability with copies at 0.8?
Check
A memory word holds 16 data bits protected by a Hamming code.
(a)
How many check bits does single-error correction need?
(b)
And SECDED?
(c)
What fraction of the stored word is check bits?
Check
A parallel CRC engine takes 32 bits per clock at 250 MHz.
(a)
What throughput does it reach?
Write units the way you normally would: 1.5 Gb/s, 1500 Mb/s and 0.0015 Tb/s are the same answer.
(b)
How many bits per clock would 100 Gb/s need?
Check
A link checks frames with a 16-bit CRC and sees 1000 randomly corrupted frames a day.
(a)
What is the chance a corrupted frame passes?
(b)
How many slip through in a year?
Check
A particle strike flips 3 adjacent cells in an SRAM row; the row interleaves 2 SECDED words bit by bit.
(a)
How many errors land in the worst-hit word?
(b)
What is the least interleaving that keeps every word correctable?
Check
SECDED check bits for 24 data bits?
Check
Throughput of a 16-bit-per-clock CRC at 300 MHz?
Write units the way you normally would: 1.5 Gb/s, 1500 Mb/s and 0.0015 Tb/s are the same answer.
Check
Chance random corruption passes an 8-bit CRC?
Check
A 60 mm² die on 300 mm wafers costing 16000 dollars, with 0.15 defects per cm².
(a)
Dies per wafer?
(b)
Poisson yield?
(c)
Cost per good die, in dollars?
Check
An ASIC with 0.5 million dollars of NRE at 2 dollars a unit against a 90-dollar FPGA; synthesis reports 4 mm² of cells at 0.65 utilization.
(a)
Break-even volume?
(b)
Core area?
Check
A 1.25 ns clock: an input arrives 0.25 ns after the edge; an output must be ready 0.4 ns before the next edge. Flip-flops have 0.06 ns setup and 0.1 ns clock-to-Q.
(a)
Logic time on the input path?
Write units the way you normally would: 1.5 ns, 1500 ps and 0.0015 µs are the same answer.
(b)
Logic time on the output path?
Check
A symmetric 63-tap FIR at 20 MHz on a 600 MHz clock, with 16-bit data and 16-bit coefficients.
(a)
Time-shared multipliers, using the symmetry?
(b)
Accumulator width (ignoring the pre-adder bit)?
(c)
Delay?
Write units the way you normally would: 1.5 ns, 1500 ps and 0.0015 µs are the same answer.
Check
A CIC decimator: 3 stages, R = 16, D = 1, 16-bit input at 100 MHz.
(a)
Register width?
(b)
First null (and output rate)?
Write units the way you normally would: 1.5 kHz, 1500 Hz and 0.0015 MHz are the same answer.
Check
A CORDIC with 14 iterations, and a 16-tap moving average.
(a)
Smallest micro-rotation, in degrees?
(b)
Moving average's first null, in cycles per sample?
Check
A 64-bit bus at 200 MHz moving 32-beat bursts with 6 overhead cycles each.
(a)
Peak bandwidth?
(b)
Sustained bandwidth?
Check
A credit-based link with a 3-cycle credit return, 5 cycles of data latency and 8 credits; and a 2-lane serial link at 16 Gb/s per lane with 128b/130b coding.
(a)
Fraction of full rate the credit link sustains?
(b)
Serial payload rate?
Write units the way you normally would: 1.5 Gb/s, 1500 Mb/s and 0.0015 Tb/s are the same answer.
Check
Scan test: 120000 flip-flops in 24 chains, 15000 patterns, 200 MHz shift clock.
(a)
Chain length?
(b)
Test time?
Write units the way you normally would: 1.5 s and 1500 ms are the same answer.
Check
Yield 0.7 and fault coverage 0.97.
(a)
Defect level?
(b)
For a defect level of 100 ppm, how large may the uncovered fraction 1 − T be?
Check
A memory word of 32 data bits, and a TMR system of three copies each working with probability 0.8.
(a)
SECDED check bits?
(b)
TMR reliability?
Check
A fleet of 20000 chips, each with 8 Mbit of SRAM at 300 FIT per Mbit, and a 24-bit BIST signature.
(a)
Fleet mean time between upsets?
(b)
Aliasing probability?
Check
An HLS loop of 1024 iterations, 7 cycles deep, reads 5 array elements per iteration from a dual-port memory and carries a 4-cycle dependence to an iteration 2 later.
(a)
What initiation interval can it reach?
(b)
How many cycles does it take?
Check
8 DMA engines share a memory port by round-robin; each grant lasts 2 cycles at 500 MHz.
(a)
What is the worst-case wait?
(b)
In time?
Write units the way you normally would: 1.5 ns, 1500 ps and 0.0015 µs are the same answer.
Check
A buffer stores 64-bit words with SECDED.
(a)
How many check bits per word?
Check
Encode sw x6, 1000(x2) (S-type, funct3 = 2, opcode 0x23).
Check
A 12-bit immediate field holds 2047 (unsigned). What value does the immediate generator produce after sign extension?
Check
A single-cycle core: clock-to-Q 40, instruction memory 200, register read 180, ALU 250, data memory 200, write-back mux 20, setup 20 ps. What's the clock period?
Write units the way you normally would: 1.5 ps and 0.0015 ns are the same answer.
Check
A multicycle core takes 5 cycles for loads, 4 for stores and ALU instructions, and 3 for branches. With 0.2 loads, 0.1 stores, 0.16 branches and the rest ALU, what's the CPI?
Check
A program runs 1 billion instructions at a CPI of 1.4 with a 1 ns clock. How long does it take?
Write units the way you normally would: 1.5 s and 1500 ms are the same answer.
Check
A register file has 16 registers of 32 bits, with register 0 hard-wired to zero. How many flip-flops does it need?
Check
A taken branch at address 0x00000400 has a B-type offset of −64. What's the target address?
Check
A multicycle core (load 5 cycles, store 4, ALU 4, branch 3) runs a mix of 0.2 loads, 0.1 stores and 0.2 branches, the rest ALU, with a 400 ps clock. Separately, an I-type instruction's 12-bit immediate field reads 3000.
(a)
What is its CPI?
(b)
How long do 10 million instructions take?
Write units the way you normally would: 1.5 ms, 1500 µs and 0.0015 s are the same answer.
(c)
What value does the immediate field encode?
Check
Encode sw x4, 500(x3).
Check
Sign-extend the 12-bit field 2049?
Check
Multicycle CPI with 0.25 loads, 0.08 stores, 0.18 branches?
Check
How many cycles do 10 instructions take on a 7-stage pipeline with no stalls?
Check
A pipeline with forwarding runs code with 0.2 loads (0.3 of them used at once), 0.2 branches, a 0.2 misprediction rate and a 2-cycle penalty. What's the CPI?
Check
Without forwarding, 0.2 of instructions depend on the one just before and 0.1 on the one two before. Ignoring branches, what's the CPI?
Check
A single-cycle core runs at 800 ps per instruction; its pipelined version has a 250 ps clock and a CPI of 1.4. What's the speedup?
Check
A five-stage pipeline runs 20 instructions with 2 load-use stalls and 3 mispredicted branches at a 3-cycle penalty. How many cycles in all?
Check
A pipeline predicts branches not taken and resolves them in stage 3 (fetch is stage 1). How many cycles does a misprediction cost?
Check
A program has 0.2 loads (0.3 of them used by the next instruction) and 0.2 branches (0.3 of them mispredicted, 1 cycles each). The pipeline runs at 250 ps; the single-cycle core it replaces ran at 900 ps.
(a)
What is the pipeline's CPI?
(b)
How much faster is it than the single-cycle core?
Check
Cycles for 30 instructions on 4 stages, no stalls?
Check
CPI: 0.15 loads, 0.2 used at once, 0.25 branches, 0.3 mispredicted, 2-cycle penalty?
Check
Speedup: 900 ps single cycle, 220 ps pipeline, CPI 1.6?
Check
A 64 KB, 16-way cache has 32-byte lines and 40-bit addresses. How many tag bits?
Check
How many index bits does a 32 KB, 8-way cache with 32-byte lines need?
Check
A write-back cache of 16 KB, 8-way, with 32-byte lines and 48-bit addresses keeps a valid and a dirty bit per line. How many SRAM bits does it hold in all?
Check
A miss waits 80 cycles of latency and then moves a 32-byte line over a 16-byte bus, one transfer per cycle. What's the miss penalty?
Check
A cache hits in 2 cycles and misses 0.01 of the time. A miss waits 150 cycles and then moves a 64-byte line over a 16-byte bus. What's the AMAT?
Check
A core at 1 GHz executes one instruction per cycle, 0.08 of them stores of 8 bytes. How much write traffic does a write-through cache send to the next level?
Check
A 32 KB, 8-way cache with 32-byte lines serves 40-bit addresses.
(a)
How many offset bits?
(b)
How many index bits?
(c)
How many tag bits?
Check
Tag bits: 32 KB, 8-way, 64-byte lines, 48-bit addresses?
Check
Miss penalty: 60 cycles latency, 64-byte line, 32-byte bus?
Check
AMAT: hit 1, miss rate 0.02, latency 100, 64-byte line, 8-byte bus?
Check
Four requesters share a 1.6 GB/s port by weighted round-robin with weights 2, 1, 3 and 2. The third requester goes idle.
(a)
What bandwidth does the first get when all four are busy?
(b)
And with the third idle?
Check
Under fixed priority, three higher requesters ask independently in fractions 0.2, 0.3 and 0.3 of cycles.
(a)
At most what share of cycles can the fourth requester win?
Check
8 masters share a bus by round-robin; each grant moves a 4-beat burst plus 3 cycles of overhead, at 500 MHz.
(a)
What is a master's worst-case wait?
(b)
How long is that?
Write units the way you normally would: 1.5 ns, 1500 ps and 0.0015 µs are the same answer.
Check
Memory words hold 64 data bits with SECDED, and bits flip independently with probability 1 × 10⁻⁶ between scrubs.
(a)
How many bits does each stored word have?
(b)
What is the chance a word has an uncorrectable (two or more bit) error?
Check
A link runs at 25 Gb/s and checks frames with a 32-bit CRC, computed by a parallel engine at 200 MHz.
(a)
How many bits per clock must the engine take?
(b)
What fraction of randomly corrupted frames escapes detection?
Check
Encode RISC-V immediates: addi with immediate −10, and a beq whose target is 8 bytes back.
(a)
What value does the 12-bit I-type immediate field hold?
(b)
What value do the 12 bits imm[12:1] of the branch hold?
Check
A pipelined core runs a program with 25% loads (0.3 used at once), 10% stores and 15% branches (0.1 mispredicted, 2 cycles each). Loads and stores miss the data cache 0.05 of the time, stalling 50 cycles.
(a)
What is its CPI?
(b)
What fraction of the time goes to cache misses?
Check
A cache's addresses split into an 18-bit tag, a 6-bit index and a 6-bit offset; it has 8 ways.
(a)
How big is the cache?
(b)
How wide are the addresses?
Check
A core at 1 GHz completes one instruction per cycle; 0.1 of instructions are 4-byte stores, and 35% are loads or stores. Its data cache misses 0.05 of accesses, and 0.5 of evicted lines are dirty.
(a)
What write traffic does a write-through cache send onward?
(b)
What does a write-back cache send, writing back 64-byte dirty lines on eviction?
Check
Each bus transaction costs 4 overhead cycles; bursts carry one beat per cycle.
(a)
How long must bursts be for an efficiency of 0.9?
Check
A memory returns a 4-beat burst 60 cycles after the request; the bus carries one beat per cycle.
(a)
How many bursts must be outstanding to keep the bus busy?
(b)
What bus utilization does one outstanding burst give?
Check
A chip with 100000 flip-flops has 16 scan pins; compression expands them into 50 times as many internal chains. 20000 patterns shift at 50 MHz.
(a)
How long is each internal chain?
(b)
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
An SRAM row interleaves 2 SECDED words of 128 data bits; a strike flips 3 adjacent cells.
(a)
How many errors does the worst-hit word get?
(b)
How many cells does the row hold?
Check
A credit-based link has a 2-cycle credit return and 3 cycles of data latency; the sender must sustain 0.75 of the link's rate.
(a)
How many credits give full rate?
(b)
How many does 0.75 of full rate need?
Check
4 masters share a resource by round-robin with 2-cycle grants; each wants it in a fraction 0.02 of cycles.
(a)
What fraction of the resource's capacity do they demand, if each request needs one 2-cycle grant?
(b)
What is the worst-case wait?
Check
A PLL has a 25 MHz reference, feedback divider N = 40, reference divider M = 2 and output divider P = 4. What's the output frequency?
Write units the way you normally would: 1.5 MHz, 1500 kHz and 0.0015 GHz are the same answer.
Check
A clock tree uses buffers that each drive 4 loads. How many levels does it need to reach 60000 flip-flops?
Check
About how many buffers does a tree of fanout-4 buffers need to drive 60000 flip-flops?
Check
A clock has 1.5 ps rms random jitter. What peak-to-peak jitter does Q = 7.03 correspond to?
Write units the way you normally would: 1.5 ps and 0.0015 ns are the same answer.
Check
A path launches on the rising edge and captures on the falling edge of an 800 MHz clock with a 0.45 duty cycle. With clock-to-Q 60 ps and setup 30 ps, how much time is left for logic?
Write units the way you normally would: 1.5 ps and 0.0015 ns are the same answer.
Check
A reset synchronizer has 2 flip-flops on a 50 MHz clock. At most how long after the raw reset is released does the design leave reset, counting whole cycles?
Write units the way you normally would: 1.5 ns, 1500 ps and 0.0015 µs are the same answer.
Check
A clock tree must reach 50000 flip-flops with buffers that each drive 4 loads; its PLL takes a 100 MHz reference with N = 64, M = 1, P = 1.
(a)
How many levels does the tree need?
(b)
About how many buffers?
(c)
What frequency does the PLL give?
Write units the way you normally would: 1.5 MHz, 1500 kHz and 0.0015 GHz are the same answer.
Check
PLL: 12 MHz reference, N = 64, M = 4, P = 8?
Write units the way you normally would: 1.5 MHz, 1500 kHz and 0.0015 GHz are the same answer.
Check
Clock tree levels: 3000 sinks, fanout 6?
Check
Peak-to-peak jitter: 0.8 ps rms, Q = 7.03?
Write units the way you normally would: 1.5 ps and 0.0015 ns are the same answer.
Check
A net connects pins at (40, 30), (25, 15) and (55, 50) µm. What's its half-perimeter wire length?
Write units the way you normally would: 1.5 µm, 1500 nm and 0.0015 mm are the same answer.
Check
A rail of 2 Ω carries 20 mA drawn evenly along it, fed from one end. What's the drop at the far end?
Write units the way you normally would: 1.5 mV, 1500 µV and 0.0015 V are the same answer.
Check
The same kind of rail, 2 Ω with 20 mA drawn evenly, is fed from both ends. What's the worst drop?
Write units the way you normally would: 1.5 mV, 1500 µV and 0.0015 V are the same answer.
Check
A block draws 2 W at 0.7 V. If the metal allows 2.5 mA per µm of width, how much total wire width must carry its current?
Write units the way you normally would: 1.5 µm, 1500 nm and 0.0015 mm are the same answer.
Check
With an 800 ps clock, a launch clock path of 300 ps, a data path of 700 ps, a capture clock path of 420 ps and 25 ps setup, what's the setup slack under OCV derates of 1.05 late and 0.9 early?
Write units the way you normally would: 1.5 ps and 0.0015 ns are the same answer.
Check
Launch and capture clock paths share their first 150 ps. With derates 1.05 late and 0.95 early, how much pessimism does CRPR remove?
Write units the way you normally would: 1.5 ps and 0.0015 ns are the same answer.
Check
A launch clock path of 350 ps feeds a 400 ps data path; the capture clock path is 380 ps, with the first 150 ps shared with the launch path. The clock is 800 ps and setup is 30 ps.
(a)
What is the setup slack without derating?
Write units the way you normally would: 1.5 ps and 0.0015 ns are the same answer.
(b)
With OCV derates of 1.08 late and 0.92 early?
(c)
And after common path pessimism removal?
Check
Drop at the far end: 30 mA evenly on a 3 Ω rail fed from one end?
Write units the way you normally would: 1.5 mV, 1500 µV and 0.0015 V are the same answer.
Check
Wire width for 1 W at 0.75 V, 3 mA/µm?
Write units the way you normally would: 1.5 µm, 1500 nm and 0.0015 mm are the same answer.
Check
OCV setup slack: T 1000, launch 350, data 900, capture 470, setup 30 ps, derates 1.06 and 0.88?
Write units the way you normally would: 1.5 ps and 0.0015 ns are the same answer.
Check
The store sw x3, 1500(x7).
(a)
Its encoding, as eight hex digits?
(b)
The value in bits 31:25?
Check
A single-cycle core: clock-to-Q 45, instruction memory 220, register read 170, ALU 240, data memory 220, mux 25, setup 20 ps.
(a)
Clock period?
Write units the way you normally would: 1.5 ps and 0.0015 ns are the same answer.
(b)
How long does an R-type instruction actually need?
Check
A multicycle core (load 5, store 4, ALU 4, branch 3 cycles) with a 350 ps clock runs 0.22 loads, 0.08 stores, 0.18 branches and the rest ALU.
(a)
CPI?
(b)
Average time per instruction?
Write units the way you normally would: 1.5 ps and 0.0015 ns are the same answer.
Check
A pipelined core with forwarding: 0.2 loads (0.3 used at once), 0.2 branches mispredicted 0.25 of the time at a 2-cycle penalty, a 260 ps clock; the single-cycle version takes 900 ps.
(a)
CPI?
(b)
Speedup over single cycle?
Check
A five-stage pipeline resolves branches in stage 4 and runs 12 instructions with 1 load-use stalls and 3 mispredicted branches.
(a)
Misprediction penalty?
(b)
Total cycles?
Check
A 64 KB, 8-way cache with 32-byte lines and 40-bit addresses.
(a)
Index bits?
(b)
Tag bits?
(c)
Total SRAM bits, with valid and dirty bits?
Check
A cache hits in 1 cycles with a 0.02 miss rate; a miss waits 150 cycles, then moves a 128-byte line over a 16-byte bus.
(a)
Miss penalty?
(b)
AMAT?
Check
A PLL with a 20 MHz reference and dividers N = 48, M = 2, P = 4, whose output has 1 ps rms jitter.
(a)
Output frequency?
Write units the way you normally would: 1.5 MHz, 1500 kHz and 0.0015 GHz are the same answer.
(b)
Peak-to-peak jitter at (Q = 7.03)?
Check
A clock tree of fanout-6 buffers reaches 20000 flip-flops; the 1000 MHz clock has a 0.53 duty cycle.
(a)
Levels?
(b)
Time from rising to falling edge?
Write units the way you normally would: 1.5 ps and 0.0015 ns are the same answer.
Check
A 4 Ω rail carrying 40 mA drawn evenly; and a block of 20 W at 0.9 V on metal rated 2 mA per µm.
(a)
Worst drop on the rail fed from both ends?
Write units the way you normally would: 1.5 mV, 1500 µV and 0.0015 V are the same answer.
(b)
Total wire width for the block's current?
Check
A 900 ps clock: launch clock 320 ps, data 750 ps, capture clock 440 ps, setup 30 ps, derates 1.07 and 0.9; the clock paths share 200 ps.
(a)
OCV setup slack before CRPR?
Write units the way you normally would: 1.5 ps and 0.0015 ns are the same answer.
(b)
After CRPR?
Check
A 2-flop reset synchronizer at 100 MHz, and a net with pins at x = 60, 90 and 70 µm, all on one row.
(a)
Longest time from reset release to leaving reset, in whole cycles?
Write units the way you normally would: 1.5 ns, 1500 ps and 0.0015 µs are the same answer.
(b)
Half-perimeter wire length?
Check
A cache uses 7 index bits and 5 offset bits with 8 ways, on 48-bit addresses.
(a)
How big is it?
(b)
How wide is each tag?
Check
An L1 cache hits in 1 cycle and misses 0.05 of the time to an L2 that hits in 8 cycles and misses 0.3 of its accesses to memory at 200 cycles.
(a)
What is the average memory access time?
Check
A bank of 32 flip-flops with 1.5 fF clock pins is idle 0.9 of the time; a clock-gating cell adds 8 fF that always toggles. The clock is 1 GHz at 0.7 V.
(a)
What does the bank's clock load burn ungated?
Write units the way you normally would: 1.5 µW, 1500 nW and 0.0015 mW are the same answer.
(b)
How much does gating save?
Check
A gate with delay 70 ps has inputs arriving at 120 and 180 ps. When does its output arrive?
Write units the way you normally would: 1.5 ps and 0.0015 ns are the same answer.
Check
A net feeds two gates: one of delay 90 ps whose output is required by 400 ps, and one of delay 60 ps required by 520 ps. When is the net required?
Write units the way you normally would: 1.5 ps and 0.0015 ns are the same answer.
Check
A net arrives at 420 ps, and the longest path from it to an output takes 120 ps more. With a 500 ps clock, what's its slack?
Write units the way you normally would: 1.5 ps and 0.0015 ns are the same answer.
Check
A slow path with 2600 ps of logic, 50 ps clock-to-Q and 30 ps setup is declared a 2-cycle multicycle path on a 1000 ps clock.
(a)
What is its setup slack?
Write units the way you normally would: 1.5 ps and 0.0015 ns are the same answer.
(b)
What is the shortest period at which it still passes?
Check
Two pipeline stages share a middle register; stage 1 has 1050 ps of logic and stage 2 has 600 ps, on a 1000 ps clock with 80 ps of register overhead. The middle register's clock can be delayed by s.
(a)
What is the least s that lets stage 1 pass?
Write units the way you normally would: 1.5 ps and 0.0015 ns are the same answer.
(b)
What is the most s that still lets stage 2 pass?
(c)
What slack does each stage keep with s in the middle of that window?
Check
A 1 kΩ driver feeds a trunk of 200 Ω ending at a node with 50 fF; from there two branches of 600 Ω each reach a 10 fF load.
(a)
What is the Elmore delay (the sum of each resistance times the capacitance downstream of it) to one load?
Write units the way you normally would: 1.5 ps and 0.0015 ns are the same answer.
Check
A wire 2000 µm long has 0.05 fF/µm to ground and 0.05 fF/µm to each of two neighbors.
(a)
What capacitance does its driver see when both neighbors switch the opposite way?
Write units the way you normally would: 1.5 fF and 0.0015 pF are the same answer.
(b)
And when both switch the same way?
Check
A block leaks 5 mW and is idle 0.5 of the time. Power gating stops the leakage while idle, but each wake-up costs 100 µJ, 50 times a second.
(a)
How much power does gating save?
Write units the way you normally would: 1.5 mW, 1500 µW and 0.0015 W are the same answer.
(b)
At what wake-up rate would it save nothing?
Check
A clock network of 100 pF runs at 0.8 V and 2 GHz. Clock gating stops it to a fraction 0.8 of the flip-flops' clock pins, while the gating cells add 5 pF that always toggles.
(a)
What does the ungated clock burn?
Write units the way you normally would: 1.5 mW, 1500 µW and 0.0015 W are the same answer.
(b)
How much does gating save?
Check
A path launches on the rising edge and captures on the falling edge of an 800 ps clock with a nominal 50% duty cycle; duty-cycle distortion can shorten the high phase by 0.02 of the period. The path takes 350 ps including setup.
(a)
What is its slack at 50%?
Write units the way you normally would: 1.5 ps and 0.0015 ns are the same answer.
(b)
And with the worst distortion?
Check
A reset synchronizer (two flip-flops, async assert, sync deassert) runs on a 2 ns clock with 0.1 ns clock-to-Q. Its output reaches the farthest flip-flop's reset pin through 0.5 ns of routing, and that flip-flop needs 0.1 ns of recovery time.
(a)
What is the longest delay from releasing reset to the design leaving it?
Write units the way you normally would: 1.5 ns, 1500 ps and 0.0015 µs are the same answer.
(b)
What is the recovery check's slack?
Check
A power rail 500 µm long in metal of 0.02 Ω per square carries 50 mA drawn evenly along it, fed from both ends; the drop must stay within 5% of 1 V.
(a)
How wide must the rail be?
Write units the way you normally would: 1.5 µm, 1500 nm and 0.0015 mm are the same answer.
Check
A hold check: launch clock path 300 ps, shortest data path 150 ps, capture clock path 300 ps, hold 20 ps; derates 0.92 early (launch and data) and 1.08 late (capture). The clock paths share 250 ps.
(a)
What is the hold slack before pessimism removal?
Write units the way you normally would: 1.5 ps and 0.0015 ns are the same answer.
(b)
And after crediting the common path?
Check
An inverter drives a 2-input NAND, which drives an inverter loaded with 64 times the first inverter's input capacitance (no branching).
(a)
What effort should each stage bear?
(b)
What is the path's delay?
(c)
How large is the last inverter's input, in units of the first inverter's?
Check
A block's dynamic energy per operation must fall by a factor of 2 through voltage alone, from 0.9 V.
(a)
What supply does that take?
Write units the way you normally would: 1.5 V, 1500 mV and 0.0015 kV are the same answer.
Check
A net has pins at (0, 0), (20, 80) and (60, 20) µm.
(a)
What is its half-perimeter wire length?
Write units the way you normally would: 1.5 µm, 1500 nm and 0.0015 mm are the same answer.
(b)
About how much wire capacitance is that, at 0.2 fF/µm?
Check
A 500 ps clock has 1 ps rms random jitter; the budget also reserves 50 ps for skew and 40 ps of margin. Use Q = 7.03 for a error rate.
(a)
What peak-to-peak jitter must it allow?
Write units the way you normally would: 1.5 ps and 0.0015 ns are the same answer.
(b)
How much of the period is left for logic and flip-flops?
Check
A wire must carry 5 mA continuously in metal rated 1 mA per µm of width at 105 °C; at 125 °C the rating falls to 0.7 of that.
(a)
How wide must it be at 105 °C?
Write units the way you normally would: 1.5 µm, 1500 nm and 0.0015 mm are the same answer.
(b)
And at 125 °C?
Check
How many bits does each pointer of a 16-deep asynchronous FIFO need?
Check
A FIFO's flags take a 5-cycle round trip between the domains, and it's 3 deep. What fraction of full rate can it sustain?
Check
An 8-deep FIFO's pointers count modulo 2·8. The write pointer is 3. What read pointer makes it exactly full?
Check
Bursts of 64 words written at 200 MHz cross into a 150 MHz domain through an asynchronous FIFO; pointer synchronization hides 4 entries from the writer.
(a)
What backlog does a burst leave?
(b)
What power-of-two depth covers it, synchronization included?
Check
An 8-bit pointer counts up and wraps.
(a)
How many bits change in binary when it wraps from all ones to zero?
(b)
How many change in Gray code?
(c)
How many change per step on average in binary, over a full cycle?
Check
A chip has 10 identical synchronizers, each with τ = = 20 ps and 800 ps to resolve, on a 1000 MHz clock sampling data that changes at 200 MHz.
(a)
What is one synchronizer's MTBF?
(b)
What is the chip's?
Check
A design with 10 synchronizers (τ = = 30 ps, 2000 MHz clock, 100 MHz data) must reach a combined MTBF of 10 years.
(a)
How much resolution time does each synchronizer need?
Write units the way you normally would: 1.5 ps and 0.0015 ns are the same answer.
Check
A cross coverpoint combines 16 opcodes with 4 modes, all equally likely in random tests.
(a)
How many tests reach 90% expected coverage?
(b)
About how many fill every bin?
Check
A corner case has probability 1 × 10⁻⁵ per unconstrained random test; weighting the constraints raises it to 0.001.
(a)
How many unconstrained tests reach 0.99 confidence of hitting it?
(b)
By what factor does weighting cut that?
Check
A bug fires only when a 12-bit counter reaches its maximum value; formal tools can shrink the counter to 3 bits without changing the property.
(a)
How deep must bounded model checking go to find it as written?
(b)
And with the counter shrunk?
Check
Two 32-bit adders (with carry out) are compared by equivalence checking through a miter.
(a)
How many XOR gates does the miter need?
(b)
How many 2-input ORs combine them?
Check
A block has 32 input bits. A simulator runs 1000 vectors a second; an emulator runs 1 × 10⁷.
(a)
How long does exhaustive simulation take?
(b)
And on the emulator?
Check
A product's yield is 0.7, and no more than 100 parts per million shipped may be bad.
(a)
What fault coverage does the test need?
Check
A 24-bit maximal LFSR drives random stimulus at 100 MHz.
(a)
How many states does it visit before repeating?
(b)
How long until the stimulus repeats?
Write units the way you normally would: 1.5 s and 1500 ms are the same answer.
Check
A design accepts 0.5 transactions per cycle on average, and each takes 20 cycles to produce its result.
(a)
How many transactions are in flight on average, so how deep must the scoreboard's expected-result queue be?
Check
A toggle synchronizer passes events from a 50 MHz domain to a 100 MHz domain; each event needs 3 destination cycles to be seen before the source may toggle again.
(a)
What is the highest event rate it can pass?
Write units the way you normally would: 1.5 MHz, 1500 kHz and 0.0015 GHz are the same answer.
(b)
How many source cycles is that spacing?
Check
An assertion requires req |-> ##[1:3] gnt. A bug makes the grant delay uniformly random from 1 to 5 cycles.
(a)
What fraction of requests violate the assertion?
(b)
How many requests give 99% confidence of catching it?
Check
A state machine has 9 states.
(a)
How many illegal codes does binary encoding leave for a formal tool to rule out?
(b)
And one-hot encoding?
Check
A block must perform 10 G operations a second; each unit does one per cycle at 250 MHz and takes 80 thousand gates.
(a)
How many units does it need?
(b)
How many million gates is that?
Check
A design has 50 million NAND2-equivalent gates, in a process with 2 million gates per mm² of cell area, placed at 0.75 utilization.
(a)
How much cell area is that?
(b)
How big is the core?
Check
A chip has 10 million gates, each switching 1 fF at activity 0.2, at 0.9 V and 0.5 GHz; each gate leaks 1 nW.
(a)
What dynamic power does it burn?
Write units the way you normally would: 1.5 W, 1500 mW and 0.0015 kW are the same answer.
(b)
What leakage?
Check
A video pipeline reads and writes each 1920 × 1080 frame 3 times in total, 4 bytes per pixel, 60 frames a second; DRAM channels give 12.8 GB/s each at 70% efficiency.
(a)
What memory bandwidth does it need?
(b)
How many channels?
Check
A design puts 16 FO4 delays of logic in each pipeline stage plus 3 FO4 of register and clock overhead; the process's FO4 delay is 25 ps.
(a)
What clock can it reach?
Write units the way you normally would: 1.5 MHz, 1500 kHz and 0.0015 GHz are the same answer.
(b)
What fraction of each cycle is overhead?
Check
A packet processor must handle 100 Gb/s of minimum-size Ethernet frames (64 bytes plus 20 bytes of preamble and gap), on a 300 MHz clock.
(a)
How many packets a second is that, in millions?
(b)
How many clock cycles does it get per packet?
Check
An FPGA filters 4 channel(s), each with a symmetric 127-tap FIR at 10 MS/s, on a 400 MHz clock with time-shared DSP slices.
(a)
How many DSP slices does it need?
Check
An image filter keeps 5 lines of 1920 pixels, 24 bits each, in 36 Kb block RAMs (36 864 bits each).
(a)
How much storage do the line buffers need?
(b)
How many block RAMs, if the bits pack perfectly?
Check
A request passes a 12-stage pipeline at 500 MHz and one 80 ns memory access; 10000 requests are issued back to back.
(a)
What is one request's latency?
Write units the way you normally would: 1.5 ns, 1500 ps and 0.0015 µs are the same answer.
(b)
How long until all 10000 have finished, if the memory is pipelined too?
Check
An inference runs 1 G multiply-accumulates at 2 pJ each and moves 50 MB to and from DRAM at 100 pJ per byte.
(a)
How much energy does it take?
Write units the way you normally would: 1.5 mJ, 1500 µJ and 0.0015 J are the same answer.
(b)
What fraction is data movement?
Check
A bus must sustain 16 GB/s at 250 MHz with 0.9 efficiency.
(a)
How wide must it be?
(b)
What power-of-two width would you build?
Check
An ASIC needs 50 million dollars of NRE and costs 2 dollars a unit; the FPGA that would do the same job costs 26 dollars a unit.
(a)
What is the break-even volume?
(b)
What does each ASIC cost, NRE included, at 100000 units, in dollars?
Check
A cross coverpoint of 16 × 4 bins must be filled by random tests that take 2 s each.
(a)
About how many tests are expected?
(b)
How long is that on one machine?
Check
A DRAM channel delivers 25.6 GB/s of raw transfers; each 64-bit data word is stored with SECDED check bits.
(a)
How wide is each stored word?
(b)
What data bandwidth remains, if the checks ride on the same pins?
Check
A 32-bit adder at 25 ps per logic level, between flip-flops with 50 ps clock-to-Q and 30 ps setup.
(a)
Maximum clock with a ripple-carry adder?
Write units the way you normally would: 1.5 MHz, 1500 kHz and 0.0015 GHz are the same answer.
(b)
With Kogge–Stone ( levels)?
(c)
With the ripple adder pipelined into 4 equal stages?
Check
A 200-tap FIR with Q1.14 data and coefficients filters a 200 MHz stream on a 300 MHz clock.
(a)
Accumulator width?
(b)
Multipliers, time-shared?
Check
A burst of 300 words at 200 MHz crosses into a 150 MHz domain through an asynchronous FIFO; the synchronizers use flip-flops with τ = 25 ps and = 20 ps, and the reader's clock samples data changing at up to 200 MHz.
(a)
FIFO depth to absorb the burst?
(b)
Smallest power-of-two depth that absorbs it?
(c)
Settling time the read domain's synchronizer needs for an MTBF of 1000 years?
Write units the way you normally would: 1.5 ps and 0.0015 ns are the same answer.
Check
A pipelined core: 0.25 loads (0.4 used at once), 0.2 branches mispredicted 0.2 of the time with a 2-cycle penalty. Its data cache hits in 1 cycle(s) (already in the pipeline) and misses 0.02 of the time with a 60-cycle penalty; 0.3 of instructions access data.
(a)
CPI with a perfect cache?
(b)
CPI with the cache's misses?
Check
A 32 KB, 4-way, 64-byte-line write-back cache with 40-bit addresses; misses wait 120 cycles and move lines over a 16-byte bus.
(a)
Tag bits?
(b)
Tag, valid and dirty overhead, as a percentage of the data bits?
(c)
Miss penalty?
Check
A path with 50 ps clock-to-Q, logic 60 to 700 ps, 30 ps setup and 25 ps hold, 60 ps of capture skew, a 1000 ps clock and 2 ps rms jitter (Q = 7.03, peak-to-peak taken as uncertainty).
(a)
Setup slack?
Write units the way you normally would: 1.5 ps and 0.0015 ns are the same answer.
(b)
Hold slack (jitter ignored, since both edges are the same edge)?
(c)
15 ps buffers needed to fix hold, if any?
Check
A gate path with logical effort 1.67, electrical effort 60 and parasitic delay 7, driving a 2 mm wire at 1 Ω/µm and 0.2 fF/µm.
(a)
Best number of stages?
(b)
Unrepeated wire delay?
Write units the way you normally would: 1.5 ps and 0.0015 ns are the same answer.
Check
A block switching 2 nF at activity 0.1, 0.9 V and 2 GHz, fed by a 4 Ω rail from both ends carrying 30 mA spread along it.
(a)
Dynamic power?
Write units the way you normally would: 1.5 W, 1500 mW and 0.0015 kW are the same answer.
(b)
After lowering the supply to 0.65 V and the clock in proportion to the voltage?
(c)
Worst IR drop on the rail?
Check
An 80 mm² chip (0.1 defects/cm², 12000-dollar wafers) with 600000 flip-flops tested through 32 scan chains with 4000 patterns at 50 MHz.
(a)
Cost per good die, in dollars?
(b)
Scan test time per chip?
Write units the way you normally would: 1.5 s and 1500 ms are the same answer.
(c)
Defect level at 99% coverage?
Check
A 24-input XOR on 4-input LUTs, with 0.15 ns per LUT and 0.5 ns of routing per level, between flip-flops with 0.3 ns of combined overhead.
(a)
Levels?
(b)
Maximum clock?
Write units the way you normally would: 1.5 MHz, 1500 kHz and 0.0015 GHz are the same answer.
Check
A coverpoint with 64 bins, and a corner case of probability 0.0002 per random test.
(a)
Expected tests to fill the coverpoint?
(b)
Tests to hit the corner with confidence 0.999?
Check
A 32-bit memory word with SECDED, a TMR block whose copies each work with probability 0.9, and a 128-bit bus at 400 MHz moving 16-beat bursts with 4 overhead cycles.
(a)
Check bits?
(b)
TMR reliability?
(c)
Sustained bus bandwidth?
Check
An HLS dot product of 1024 floating-point pairs accumulates through a 3-cycle adder; the loop is 12 cycles deep.
(a)
How many cycles does it take as written?
(b)
And with 3 interleaved partial sums (ignoring the final combining)?
Check
Three masters share a 12.8 GB/s memory port by weighted round-robin with weights 4, 4 and 2.
(a)
What bandwidth is the last master guaranteed when all are busy?
Check
A 100 Gb/s link's frames carry a 32-bit CRC computed at 400 MHz.
(a)
How many bits per clock must the CRC engine take?
(b)
What power-of-two datapath width covers it?
Check
A controller with 11 states, clocked at 25 MHz, generating a 60 kHz tick.
(a)
Binary state flip-flops?
(b)
One-hot flip-flops?
(c)
Divider counter bits?
Check
A 16-bit adder at 20 ps per level, and a 24 × 24 multiplier reduced by a Dadda tree.
(a)
How much faster is Kogge–Stone than ripple?
Write units the way you normally would: 1.5 ps and 0.0015 ns are the same answer.
(b)
Dadda reduction stages (heights 2, 3, 4, 6, 9, 13, 19, 28)?
Check
An IEEE single with exponent field 120 and fraction 0.25; and a 1500-word burst at 200 MHz into a FIFO read at 60 MHz.
(a)
The float's value?
(b)
FIFO depth?
Check
A path: 800 ps clock, 40 ps clock-to-Q, logic 70 to 850 ps, 25 ps setup, 20 ps hold, −25 ps skew and 20 ps of clock uncertainty on setup.
(a)
Setup slack?
Write units the way you normally would: 1.5 ps and 0.0015 ns are the same answer.
(b)
Hold slack?
Check
A path with logical effort 1.33, branching 1 and electrical effort 250; and a 1.5 mm wire at 0.8 Ω/µm, 0.2 fF/µm.
(a)
Best number of stages?
(b)
Wire delay, unrepeated?
Write units the way you normally would: 1.5 ps and 0.0015 ns are the same answer.
Check
A block switching 3 nF at activity 0.1, plus a 150 pF clock tree, at 0.85 V and 2.5 GHz.
(a)
Total dynamic power?
Write units the way you normally would: 1.5 W, 1500 mW and 0.0015 kW are the same answer.
(b)
Saving from gating 0.5 of the clock tree's load?
Check
A 4 ns block pipelined into 4 stages with 0.2 ns of register overhead; elsewhere, a loop with 5 ns of logic and 2 registers.
(a)
Pipeline clock period?
Write units the way you normally would: 1.5 ns, 1500 ps and 0.0015 µs are the same answer.
(b)
Pipeline latency?
(c)
Loop's iteration bound?
Check
A synchronizer: τ = 20 ps, = 20 ps, 1600 MHz clock, data at 200 MHz.
(a)
MTBF with 500 ps of settling?
Write units the way you normally would: 1.5 s and 1500 ms are the same answer.
(b)
Settling time for an MTBF of 10 years?
Check
A coverpoint of 100 bins after 200 random tests; and an 18-bit adder tested exhaustively at 100 million tests per second.
(a)
Coverage?
(b)
Exhaustive test time?
Write units the way you normally would: 1.5 s and 1500 ms are the same answer.
Check
A 20-input AND on 5-LUTs; and a 3500 × 50 memory in 1024 × 36 block RAMs.
(a)
LUTs?
(b)
Block RAMs?
Check
A 100 mm² ASIC on 14000-dollar wafers with 0.1 defects/cm² and 3 million dollars of NRE, against a 40-dollar FPGA. The ASIC's unit cost is 5 dollars.
(a)
Die cost, in dollars?
(b)
Break-even volume?
Check
A symmetric 63-tap FIR at 10 MHz on a 500 MHz clock; and a CIC decimator with 5 stages, R = 16, 12-bit input.
(a)
Time-shared multipliers, using symmetry?
(b)
CIC register width?
Check
Scan test of 150000 flip-flops in 50 chains with 20000 patterns at 100 MHz; yield 0.8 and coverage 0.98.
(a)
Test time?
Write units the way you normally would: 1.5 s and 1500 ms are the same answer.
(b)
Defect level?
Check
The store sw x5, 700(x1), and a five-stage pipeline with forwarding running 0.3 loads (0.3 used at once) and 0.1 branches mispredicted 0.1 of the time (2-cycle penalty).
(a)
Encoding, in hex?
(b)
CPI?
Check
A 32 KB, 4-way cache with 64-byte lines and 48-bit addresses, hitting in 4 cycles; misses (0.02) wait 40 cycles and move the line over a 16-byte bus.
(a)
Tag bits?
(b)
AMAT, in cycles?
Check
A PLL (20 MHz reference, N = 80, M = 2, P = 4); a 3 Ω rail carrying 50 mA spread along it, fed from both ends; and a path with a 900 ps clock, launch clock 420 ps, data 650 ps, capture clock 330 ps, 25 ps setup, derates 1.05 and 0.92.
(a)
PLL output?
Write units the way you normally would: 1.5 MHz, 1500 kHz and 0.0015 GHz are the same answer.
(b)
Worst IR drop?
(c)
OCV setup slack?
Check
A floating-point format has a 24-bit significand; x lies between and , with e = −10.
(a)
What is the ULP at x?
(b)
What is the largest rounding error there, rounding to nearest?
Check
An HLS loop of 512 iterations is 10 cycles deep and reaches II = 1; unrolled by 8 with partitioned arrays it reaches II = 1.
(a)
How many cycles does the rolled loop take?
(b)
And the unrolled one?
Check
An SRAM stores 64-bit words with SECDED; strikes flip up to 2 adjacent cells.
(a)
How wide is each stored word?
(b)
What interleaving keeps every word correctable?
A kind of problem counts as solid once you've got it right on the first try twice in a row. Back to S3