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
| Signal | Width | Role |
|---|---|---|
question | 8 | input of each check |
Full specification
| Code | Decision |
|---|---|
| 1 | Done: ready to sign off |
| 2 | Not done: a plan row has no test |
| 3 | Not done: a test fails |
| 4 | Not done: coverage has not reached the plan's targets |
| 5 | Not done: new bugs are still being found every week |
| Entry | Your decision |
|---|---|
| ALL_GREEN_HOLE | Plan of 12 rows; 11 have passing tests, 1 has no test. Coverage full on the 11. No new bugs for a month. |
| ONE_RED | Every row has a test; one test fails. Coverage full. No new bugs. |
| CLEAN | Every row has a passing test. Coverage meets every target. No new bugs for four weeks; open risks are written down. |
| COVER_GAP | Every row has a passing test. Coverage shows the FIFO never filled. No new bugs. |
| BUG_FLOW | Every row has a passing test and coverage is full, but five new bugs were found last week. |
| MANY_TESTS | 400 tests, all passing. The plan has 30 rows; 26 have tests. |
| STALE_PLAN | A feature was added to the specification last month. The plan was not updated. Everything else is green. |
| QUIET | Every row has a passing test. No new bugs for two weeks, but nobody ran anything new. Coverage reached only 60 percent of its targets. |
| HOLES | A 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