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?
| Criterion | Measured | Target | Status | Where it comes from |
|---|---|---|---|---|
| Control runs of the regression passing | 120 | 120 | met | V12.4 regression, good chip |
| Lockstep mismatches against the reference model | 0 | 0 | met | Stage E7 gate record |
| Seeded faults caught by some check | 130 | 130 | met | docs/soc/fault-table.md |
| Integration coverage bins hit | 143 | 348 | OPEN | docs/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.
| Question | |
|---|---|
| 1 | What makes a sign-off criterion a good one? |
| 2 | Where must every number on a sign-off dashboard come from? |
| 3 | What is a waiver, and what does it not do? |
| 4 | What does a bug curve show, and when does a flat curve mean something? |
| 5 | Why 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
| Word | Meaning |
|---|---|
| Sign-off | The decision that verification is complete enough to build the chip. |
| Criterion | A measure with a target, agreed in advance, that a record either meets or misses. |
| Waiver | A written acceptance of an open item: what is open, why that is acceptable, who owns it and until when. |
| Bug curve | Bugs found per week, or in total over time, from the bug tracker. |
| Dashboard | One page with every criterion, its measured value, its target and its status. |
| Escape | A bug that passes sign-off and is found in silicon. |
One Picture: Records to Decision
- Test
- Measure
- File
- Report
- Result
- Analysis
- Control
- Records in
Each criterion reads one record: a regression report, a coverage ledger, a fault table.
- Open items
A missed criterion either blocks, or goes to the waiver list with a reason, an owner and a date.
- 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.
| Criterion | Status, no waiver | Status, waiver written |
|---|---|---|
| Control runs passing | met | met |
| Lockstep mismatches | met | met |
| Seeded faults caught | met | met |
| Coverage bins hit | OPEN | waived |
| Verdict | not ready | ready |
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
Rule 1: Agree the criteria before the results arrive.
A target set after the numbers are known is not a criterion.
Rule 2: Trace every number to a record.
A gate record, a regression report, a ledger. A number nobody can trace does not count.
Rule 3: An open item blocks until it is met or waived.
A waiver names the item, the reason, the owner and the date.
Rule 4: A waiver stays visible.
It is a record of risk accepted, not a fix. The next revision starts from the waiver list.
Rule 5: Read the bug curve with the stimulus.
Fewer new bugs means something only while new tests and seeds keep running.
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:
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:
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
This section looks ahead. ap_soc's dashboard has four rows; a product chip's has dozens, per subsystem.
Tracked plans
Every bin, test and waiver links to a requirement, so the dashboard shows which requirements are verified.
Review boards
Sign-off is held by a review of design, verification and product leads, who accept each waiver by name.
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?
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
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.