Read a bug curve and a waiver list, and decide what each says about readiness.
Hardware context: The gate records of the ap_soc v1.5 project: regression control, lockstep, fault table and coverage ledger. Reading a bug curve and a waiver list.
Exercise values, not measured: bugs found per week in a made-up eight-week regression. Week 1 found 9, then 14, 11, 7, 4, 2, 1 and 0. The cumulative curve flattens as fewer new bugs appear.
This worksheet uses named constants. The first three entries show how to record your decisions.
Replace each unresolved value of 65535 with your result.
Signals in the Timeline
| Signal | Width | Role |
|---|---|---|
question | 8 | input of each check |
Full specification
| Week | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |
|---|---|---|---|---|---|---|---|---|
| New bugs | 9 | 14 | 11 | 7 | 4 | 2 | 1 | 0 |
| Total so far | 9 | 23 | 34 | 41 | 45 | 47 | 48 | 48 |
| Code | What it says |
|---|---|
| 1 | Ready on this criterion |
| 2 | Not ready: still finding bugs |
| 3 | A warning: no new bugs, but the tests did not change either |
| 4 | A waiver that must name an owner and a date |
| Entry | Your decision |
|---|---|
| TOTAL | Bugs found in the eight weeks. |
| PEAK | In which week were the most bugs found? |
| WEEK3 | The curve at week 3: 11 new bugs. |
| FLAT_SAME | Weeks 7 and 8 found 1 and 0 bugs, and no test or seed was added in those weeks. |
| FLAT_NEW | Weeks 7 and 8 found 1 and 0 bugs while new tests and seeds ran. |
| DEBUG_HOLE | debug.step is a hole: no regression test steps the core over JTAG. |
| TOTAL_AT | Total bugs found by the end of week K + 1 (the cumulative row). |
Examples
Example 1
TOTAL- Input
Bugs found in the eight weeks.
- Output
matches = 1
The last value of the cumulative row.
Example 2
PEAK- Input
In which week were the most bugs found?
- Output
matches = 1
14 in week 2.
Example 3
WEEK3- Input
The curve at week 3: 11 new bugs.
- Output
matches = 1
Still steep.
Constraints and Contract
- Keep the parameter and named constants. Use the numeric codes and units on this page.
- For TOTAL_AT, enter a constant expression using K. Only this entry changes with the parameter. The supported integer range is 0 through 7, inclusive.
Hints
Hint 1
New bugs per week rise, peak, then fall.
Hint 2
A flat curve means something only if the stimulus kept changing.
Hint 3
An open item needs a reason, an owner and a date.
What the grader checks: Each check compares the full eight-bit answer. Parameter trials change one condition and keep the other decisions fixed.
11 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 2 problems on this path