Sign-Off

Decide that a chip is verified enough to build. Use criteria agreed in advance and records you can trace, and keep every open item visible.

You Will Be Able To

  • Write sign-off criteria that a record can meet or miss, before the results arrive.
  • Read a dashboard and say which items block, which are met and which are waived.
  • Read a bug curve, and say when a flat curve means something.
  • Write a waiver that keeps an open item visible: a reason, an owner and a date.
Lesson
V12.8
Time
24 min
Runs on
Your browser
Check
5 questions

The last day before tape-out. The regression is green, the bug count has been flat for two weeks, and the coverage report still has holes. The meeting has one question: do we build it?

The Dashboard on the Last Day
CriterionMeasuredTargetStatusWhere it comes from
Control runs of the regression passing120120metV12.4 regression, good chip
Lockstep mismatches against the reference model00metStage E7 gate record
Seeded faults caught by some check130130metdocs/soc/fault-table.md
Integration coverage bins hit143348OPENdocs/soc/chip-coverage.json

Every measured value is read from this project's records when the site is built. The targets are this lesson's. The verdict, with nothing waived: not ready.

Before You Start

Read Regressions and Triage and Merging and Closing first. The project flow up to sign-off is in The Flow From Hand-Off to Sign-Off.

Five questions this page answers
Question
1What makes a sign-off criterion a good one?
2Where must every number on a sign-off dashboard come from?
3What is a waiver, and what does it not do?
4What does a bug curve show, and when does a flat curve mean something?
5Why does no single number decide sign-off?

The Idea: A Decision, Made from Records

Verification never finishes. There is always one more seed, one more corner. Sign-off is the decision that what remains is a risk the project will accept. It is a decision, taken by people, and it should be taken on evidence.

So the criteria come first, agreed before the last weeks. Each one names a measure and a target: all control runs pass, zero mismatches, every bin hit or waived. When the day comes, each criterion is met, open, or waived. Nothing is decided by how the numbers feel.

No single measure is enough. Coverage says what the tests reached, not whether the checks were right. A green regression says the tests pass, not that they test much. A falling bug curve says new bugs are rare, not that none remain. Together they make an argument.

New Words

New words on this page
WordMeaning
Sign-offThe decision that verification is complete enough to build the chip.
CriterionA measure with a target, agreed in advance, that a record either meets or misses.
WaiverA written acceptance of an open item: what is open, why that is acceptable, who owns it and until when.
Bug curveBugs found per week, or in total over time, from the bug tracker.
DashboardOne page with every criterion, its measured value, its target and its status.
EscapeA bug that passes sign-off and is found in silicon.

One Picture: Records to Decision

From Records to a DecisionEach criterion reads one record. Open items go to the waiver list or block the decision. The review decides from the dashboard, and the waivers stay with the chip.
  • Test
  • Measure
  • File
  • Report
  • Result
  • Analysis
  • Control
From Records to a DecisionEach criterion reads one record. Open items go to the waiver list or block the decision. The review decides from the dashboard, and the waivers stay with the chip. test Regressionreport control runs measure Coverage ledger bins, holes, ties file Fault table what the checkscatch report Dashboard criterion, value,target file Waivers reason, owner, date result Decision ready or not ready passing runsbins hitfaults caughtopen itemsmet itemsaccepted risk
  1. test Regression reportcontrol runs
    • passing runs → Dashboard
  2. measure Coverage ledgerbins, holes, ties
    • bins hit → Dashboard
  3. file Fault tablewhat the checks catch
    • faults caught → Dashboard
  4. report Dashboardcriterion, value, target
    • open items → Waivers
    • met items → Decision
  5. file Waiversreason, owner, date
    • accepted risk → Decision
  6. result Decisionready or not ready
  1. Records in

    Each criterion reads one record: a regression report, a coverage ledger, a fault table.

  2. Open items

    A missed criterion either blocks, or goes to the waiver list with a reason, an owner and a date.

  3. The decision

    Ready only when every item is met or waived. The waivers travel with the chip to the next revision.

Read the diagram as text
  • Regression report: control runs
  • Coverage ledger: bins, holes, ties
  • Fault table: what the checks catch
  • Dashboard: criterion, value, target
  • Waivers: reason, owner, date
  • Decision: ready or not ready
  • Regression report → Dashboard: passing runs
  • Coverage ledger → Dashboard: bins hit
  • Fault table → Dashboard: faults caught
  • Dashboard → Waivers: open items
  • Dashboard → Decision: met items
  • Waivers → Decision: accepted risk

The records named here are this project's: the V12.4 regression, docs/soc/chip-coverage.json and docs/soc/fault-table.md.

The Smallest Example: Four Criteria, One Open

Take four criteria with the chip's own values. Three are met. Integration coverage has holes, and no waiver is written. Work out the verdict, then write the waiver and work it out again.

The verdict, with and without a waiver
CriterionStatus, no waiverStatus, waiver written
Control runs passingmetmet
Lockstep mismatchesmetmet
Seeded faults caughtmetmet
Coverage bins hitOPENwaived
Verdictnot readyready

The runnable example below computes both.

The waiver changed the verdict, and nothing else. The holes are still holes. A waiver moves an item from "blocks the decision" to "accepted, with a reason". It stays on the dashboard, where the next reader can see it.

The Rules

  1. Rule 1: Agree the criteria before the results arrive.

    A target set after the numbers are known is not a criterion.

  2. Rule 2: Trace every number to a record.

    A gate record, a regression report, a ledger. A number nobody can trace does not count.

  3. Rule 3: An open item blocks until it is met or waived.

    A waiver names the item, the reason, the owner and the date.

  4. Rule 4: A waiver stays visible.

    It is a record of risk accepted, not a fix. The next revision starts from the waiver list.

  5. Rule 5: Read the bug curve with the stimulus.

    Fewer new bugs means something only while new tests and seeds keep running.

  6. Rule 6: Use several measures together.

    Coverage, regression results, the bug curve and caught seeded faults each cover a gap of the others.

Sources for These Rules

The project's own acceptance checks, written before the chip was built: docs/soc-verification-plan.md §3.9 (12 checks). The gate records of §3.10 are written by each stage when its gate has run.

Seeded faults measure what a suite can catch: docs/soc/fault-table.md, generated by npm run check:soc-faults. Module V6 teaches from it in Choosing the Mode.

The bug curve, waivers and dashboards are common industry practice. This lesson states no industry figures; its bug curve in the worksheet is exercise values.

The Lab: The Chip's Own Dashboard

The example below is a sign-off check written as a small program. Its values are not typed in: the site reads them from this project's records when it is built. Here is its run with nothing waived:

Icarus Verilog version 12.0 (stable), the runnable example.
control runs passing    120 >=  120  met
lockstep mismatches       0 <=    0  met
seeded faults caught    130 >=  130  met
coverage bins hit       143 >=  348  OPEN
verdict: not ready (1 open)

Rule 3 at work: coverage is open, so the verdict is not ready. 205 bins are holes. The eight-run suite that made the ledger is a sample, written to prove the coverage machinery, not a closing regression. The same program with a waiver on coverage:

The same check with the coverage criterion waived.
control runs passing    120 >=  120  met
lockstep mismatches       0 <=    0  met
seeded faults caught    130 >=  130  met
coverage bins hit       143 >=  348  waived
verdict: ready (0 open)

Rule 4 decides whether that second verdict is honest. It is honest only if a written waiver says why the holes are acceptable, who owns them and by when they close. Without that page, the second verdict is the first one with the bad news hidden.

Rule 6 shows in the seeded-fault row. Each of the 130 faults was caught by some check, but not by the same kind. The catches by kind: firmware 105, bus manager 81, passive checker 33, model compare 8, formal 24. No single kind of test catches them all. A sign-off that trusted only one kind of check would miss the faults only the others catch.

The project's acceptance checks of §3.9 are a real criteria list, written before the chip existed. Among them: lint with no waiver, two simulators agreeing, lockstep with zero mismatches, silent checkers. Also every connection proved or listed with its reason, power and debug flows, and every seeded fault caught. Each stage of the plan writes a gate record when its gate has run. Those records are this project's sign-off evidence.

Why It Is Built This Way

Why agree criteria early? Late in a project everyone wants to build. Targets chosen on the last day drift toward whatever the numbers already are. Targets chosen months before keep the decision honest.

Why keep waivers instead of lowering targets? A lowered target hides the gap: next time nobody knows it was ever there. A waiver keeps the gap in view, with a name next to it. The next revision of the chip starts by reading the waivers.

Traps

The first trap is the flat curve with a frozen suite. No new bugs for two weeks, and the team signs off. In those two weeks nobody added a test or a seed. The curve measured the suite, not the chip.

The second trap is the number with no source. A slide says "coverage 97%". Nobody can say which build, which runs, or which plan. At sign-off it is worth nothing, however good it looks.

The third trap is the silent waiver. A hole is waived in a meeting and never written down. The next revision changes the logic behind it, and nobody knows that it was never tested.

At Scale

ap_soc~12 blocks
Phone-class SoChundreds of blocks

This section looks ahead. ap_soc's dashboard has four rows; a product chip's has dozens, per subsystem.

  1. Tracked plans

    Every bin, test and waiver links to a requirement, so the dashboard shows which requirements are verified.

  2. Review boards

    Sign-off is held by a review of design, verification and product leads, who accept each waiver by name.

  3. After silicon

    Escapes found in the lab are traced back to the plan, and the plan of the next chip gains the missing rows.

Try It

Run it: four criteria from the project's records, and the verdict.

Waive the coverage criterion (the predict question below). What is the verdict?

Change the lockstep target to 1. Does the verdict change? Why or why not?

RUNIcarus Verilog · in your browser
Edit the code, then run it
Expected: control runs passing 120 >= 120 met lockstep mismatches 0 <= 0 met seeded faults caught 130 >= 130 met coverage bins hit 143 >= 348 OPEN verdict: not ready (1 open)

Check Yourself

Predict the outputThe coverage criterion is now waived. What is the last line printed?
// A sign-off check: every criterion met or waived, or the answer is "not ready".
module tb;
  string name [4];
  int value [4], target [4];
  bit at_most [4], waived [4];   // at_most 1: the value must not exceed the target
  int open = 0;
  bit met;
  string verdict, state;
  initial begin
    name[0] = "control runs passing"; value[0] = 120; target[0] = 120; at_most[0] = 0; waived[0] = 0;
    name[1] = "lockstep mismatches"; value[1] = 0; target[1] = 0; at_most[1] = 1; waived[1] = 0;
    name[2] = "seeded faults caught"; value[2] = 130; target[2] = 130; at_most[2] = 0; waived[2] = 0;
    name[3] = "coverage bins hit"; value[3] = 143; target[3] = 348; at_most[3] = 0; waived[3] = 1;
    for (int i = 0; i < 4; i++) begin
      met = at_most[i] ? value[i] <= target[i] : value[i] >= target[i];
      state = met ? "met" : waived[i] ? "waived" : "OPEN";
      $display("%-22s %4d %s %4d  %s", name[i], value[i], at_most[i] ? "<=" : ">=", target[i], state);
      if (!met && !waived[i]) open++;
    end
    verdict = open ? "not ready" : "ready";
    $display("verdict: %s (%0d open)", verdict, open);
  end
endmodule
ConceptWhat does a waiver do?
ConceptThe bug curve is flat for two weeks. When does that mean something?
ConceptA slide says "coverage 97%" with no build or run named. What is it worth at sign-off?
ConceptWhy did the seeded-fault row need several kinds of check?

Common Mistakes

Wrong Set the sign-off targets in the last week.

Targets chosen late drift toward whatever the numbers already are.

Fix Agree criteria and targets early, in the plan.

Wrong Close an open item by lowering its target.

The gap disappears from view and from the next revision's memory.

Fix Write a waiver with a reason, an owner and a date.

Wrong Sign off on a flat bug curve alone.

A frozen suite finds no new bugs whatever the chip is like.

Fix Read the curve with the stimulus, and with coverage and seeded-fault results.

Remember

  • Sign-off is a decision against criteria agreed in advance.
  • Every number on the dashboard traces to a record.
  • Open items block until met or waived; waivers stay visible.
  • A flat bug curve counts only while the stimulus keeps changing; use several measures together.

Practice

Report a problem with this page