B1.4.1 Is It Done?

EasyImplement12 minIcarus Verilog · serverReview the topic

Read a project's dashboard and plan, and decide whether verification is done. If not, name the first reason.

Hardware context: A verification plan, its tests, its coverage and its bug reports for a small design. Preparing for a sign-off review.

Each entry describes the state of one project; its counts are exercise values. Pick the first reason in code order that applies; code 1 only if none does.

This worksheet uses named constants. The first three entries show how to record your decisions.

Replace each unresolved value of 255 with your result.

Signals in the Timeline

SignalWidthRole
question8input of each check
Full specification
CodeDecision
1Done: ready to sign off
2Not done: a plan row has no test
3Not done: a test fails
4Not done: coverage has not reached the plan's targets
5Not done: new bugs are still being found every week
EntryYour decision
ALL_GREEN_HOLEPlan of 12 rows; 11 have passing tests, 1 has no test. Coverage full on the 11. No new bugs for a month.
ONE_REDEvery row has a test; one test fails. Coverage full. No new bugs.
CLEANEvery row has a passing test. Coverage meets every target. No new bugs for four weeks; open risks are written down.
COVER_GAPEvery row has a passing test. Coverage shows the FIFO never filled. No new bugs.
BUG_FLOWEvery row has a passing test and coverage is full, but five new bugs were found last week.
MANY_TESTS400 tests, all passing. The plan has 30 rows; 26 have tests.
STALE_PLANA feature was added to the specification last month. The plan was not updated. Everything else is green.
QUIETEvery row has a passing test. No new bugs for two weeks, but nobody ran anything new. Coverage reached only 60 percent of its targets.
HOLESA plan has 20 rows. TESTED of them have a passing test; the others have no test at all. All tests pass and no new bugs are being found. How many holes does the plan have?

Examples

Example 1

ALL GREEN HOLE
Input
Plan of 12 rows; 11 have passing tests, 1 has no test. Coverage full on the 11. No new bugs for a month.
Output
matches = 1

A row with no test is a hole, however green the rest is.

Example 2

ONE RED
Input
Every row has a test; one test fails. Coverage full. No new bugs.
Output
matches = 1

A failing test means a row is not shown.

Example 3

CLEAN
Input
Every row has a passing test. Coverage meets every target. No new bugs for four weeks; open risks are written down.
Output
matches = 1

All four readings agree.

Constraints and Contract

  • Keep the parameter and named constants. Use the numeric codes and units on this page.
  • For HOLES, enter a constant expression using TESTED. Only this entry changes with the parameter. The supported integer range is 10 through 20, inclusive.

Hints

Hint 1

Does every row have a test?

Hint 2

Do all tests pass, and did they reach what the plan asks?

Hint 3

Are new bugs still arriving?

What the grader checks: Each check compares the full eight-bit answer. Parameter trials change one condition and keep the other decisions fixed.

13 checks on Icarus Verilog · server. Run the examples first, then check the full regression. Full checks use the server judge. Downloads contain your source only; samples require the simulation service. A passing result establishes the tested cases, not a proof for all possible inputs.

See all 1 problem on this path

Report a problem with this page

Your code SystemVerilogSaved locally
Ln 1, Col 1Tab indents · Ctrl/⌘ + Enter runs samples
Not run yet

ALL GREEN HOLE

Input
Plan of 12 rows; 11 have passing tests, 1 has no test. Coverage full on the 11. No new bugs for a month.
Expected output
matches = 1

A row with no test is a hole, however green the rest is.

Run samples executes all 3 public checks. Check all tests runs 13 checks on the server.

Icarus Verilog · server