S3 Digital design with HDL · Practice
Verification: testbenches, assertions and coverage
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.
0 solved
0 in a row
0 of 10 kinds solid
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?
A kind of problem counts as solid once you've got it right on the first try twice in a row. Back to the lesson · Practice every topic in S3