V12.8.2 The Bug Curve and Waivers

EasyImplement22 minIcarus Verilog · serverReview the topic

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

SignalWidthRole
question8input of each check
Full specification
Exercise values.
Week12345678
New bugs9141174210
Total so far923344145474848
CodeWhat it says
1Ready on this criterion
2Not ready: still finding bugs
3A warning: no new bugs, but the tests did not change either
4A waiver that must name an owner and a date
EntryYour decision
TOTALBugs found in the eight weeks.
PEAKIn which week were the most bugs found?
WEEK3The curve at week 3: 11 new bugs.
FLAT_SAMEWeeks 7 and 8 found 1 and 0 bugs, and no test or seed was added in those weeks.
FLAT_NEWWeeks 7 and 8 found 1 and 0 bugs while new tests and seeds ran.
DEBUG_HOLEdebug.step is a hole: no regression test steps the core over JTAG.
TOTAL_ATTotal 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

Report a problem with this page

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

TOTAL

Input
Bugs found in the eight weeks.
Expected output
matches = 1

The last value of the cumulative row.

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

Icarus Verilog · server