Verification, Validation and Test
Three jobs sound alike and are not. Verification asks whether the design matches the specification. Validation asks whether it is the right product. Test asks whether each copy came out of the factory right.
You Will Be Able To
- Name the reference each of verification, validation and manufacturing test compares against.
- Say which of the three would catch a given fault, and which would not.
- Place post-silicon validation on the road from design to product.
- Lesson
- B1.2
- Time
- 18 min
- Runs on
- Your browser
- Check
- 5 questions
A traffic light controller passes every check its engineers wrote. On the first street corner, drivers slam their brakes: the light jumps from green straight to red. The design did exactly what the specification said. So which check failed?
- External
- File
- Design
- Device
- Measure
- Analysis
- Data
- Did we build it right?
Verification compares the design with the specification, before the chip is made.
- Did we build the right thing?
Validation compares what we specified and built with what users really need.
- Did this copy come out right?
Manufacturing test compares each chip from the factory with the design it was made from.
- Does the real chip behave?
Post-silicon validation runs the first real chips at full speed, in a real system, and looks for anything simulation missed.
Read the diagram as text
- What users need: the purpose of the product
- Specification: what the chip must do
- The design: RTL, before any chip exists
- One manufactured copy: one of millions
- First silicon: real chips on a lab board
- Specification → What users need: validation
- The design → Specification: verification
- One manufactured copy → The design: manufacturing test
- One manufactured copy → First silicon: first chips
- First silicon → Specification: post-silicon validation
One product, four comparisons. Each arrow points at the reference that decides right or wrong.
Before You Start
Read A Chip You Cannot Patch first: it shows why bugs must be found before tape-out.
| Question | |
|---|---|
| 1 | What reference does verification compare against? |
| 2 | What does validation ask that verification cannot? |
| 3 | What does manufacturing test look for, and on which chips? |
| 4 | What is post-silicon validation for? |
| 5 | For one fault, which of the checks catches it and which miss it? |
The Idea: Every Check Compares with Something
A check is always a comparison. Something is measured, and it is compared with a reference that says what is right. The reference decides what the check can find. A check can never find a fault in its own reference.
Verification takes the specification as its reference. It can show that the design does what the document says. It cannot show that the document asked for the right thing. That is a different question, with a different reference: what users need. Answering it is validation.
Manufacturing test takes the design itself as its reference. Its question is narrow: did this copy come out of the factory the way the design says? It runs on every chip. A speck of dust can break one copy and leave the next one perfect.
New Words
| Word | Meaning |
|---|---|
| Verification | Comparing the design with its specification: did we build it right? |
| Validation | Comparing the product with what users need: did we build the right thing? |
| Manufacturing test | Comparing each made chip with its design, to find copies the factory damaged. |
| Defect | A physical flaw in one manufactured copy, such as a broken or shorted wire. |
| Post-silicon validation | Running the first real chips in a real system, at full speed, to find what simulation missed. |
| Fault | Anything wrong, wherever it came from: the design, the specification or one copy. |
| Prototype | An early working version of a product, built so people can try it before the final chip exists. |
One Product, Three Faults, by Hand
Take a traffic light. The specification says: green for 3 cycles, yellow for 1, red for 3, then green again. The users' need is simple: red must never follow green directly. Now imagine three different faults, one at a time.
| Fault | Verification (design against spec) | Validation (against the need) | Test (copy against design) |
|---|---|---|---|
| A: the RTL holds yellow for 2 cycles | catches it: the spec says 1 | misses it: yellow still comes before red | misses it: every copy matches the wrong design |
| B: the spec forgot yellow; the RTL follows the spec | misses it: design and spec agree | catches it: green goes straight to red | misses it |
| C: one chip has a broken yellow wire | misses it: the design is right | misses it: it is run on the design and early samples | catches it: this copy differs from the design |
Each fault slips past two checks and is caught by one. No single check is enough, because each one trusts its own reference.
The Rules
Rule 1: Every check has a reference.
It finds differences from that reference and can never find a fault inside it.
Rule 2: Verification checks the design against the specification.
It runs before tape-out, on the RTL.
Rule 3: Validation checks the product against users' needs.
It questions the specification itself, on models, prototypes and early chips.
Rule 4: Manufacturing test checks each copy against the design.
It runs on every chip, because defects strike copies, not designs.
Rule 5: Post-silicon validation runs the first real chips in a real system.
It finds what simulation could not reach: full speed, real software, real boards.
Sources for These Rules
Weste and Harris, CMOS VLSI Design, 4th ed. (2011), section 15.1: three kinds of tests. Logic verification before tape-out, debug of the first chips, and manufacturing tests on every chip.
Spear and Tumbush (2012), section 1.1: the verifier checks that the design matches the specification. Use outside the intended purpose is a separate question.
Mehta (2018), section 1.1: silicon validation after pre-silicon verification. Section 15.3.5: hardware bring-up of the first boards.
The names vary between companies. Some say "validation" for all work on real chips. The three questions do not vary.
The Lab: Three Faults Through Three Checks
The lab builds the traffic light three times, once per fault. For each one it keeps two things apart: the design, and one manufactured copy. Then it runs three comparisons over 16 cycles.
if (design !== spec(t, ys)) ver++; // verification: design against specification
if (!need(prev, design)) val++; // validation: design against the user's need
if (die !== design) tst++; // test: this copy against the designEach line counts mismatches against one reference. spec(t, ys) is a small function that says what the specification wants at cycle t. need checks that red never follows green. The !== operator means "differs from".
fault A, a design bug (yellow lasts 2 cycles): verification FAIL, validation pass, test pass
fault B, a wrong specification (no yellow at all): verification pass, validation FAIL, test pass
fault C, a bad copy (yellow lamp wire broken): verification pass, validation pass, test FAILEvery row has exactly one FAIL, in a different column. Fault A, the 2-cycle yellow, fails verification only: rule 2 at work. Fault B passes verification, because design and specification agree, and fails validation: rule 3. Fault C passes both, because the design is right, and fails test: rule 4.
Look again at fault A's test column. Every copy of a wrong design is a perfect copy of a wrong design. Manufacturing test passes it, and so it should.
Why Three Separate Jobs
Why not one big check? Because the references arrive at different times and cost different amounts. The specification exists early, so verification can start before any chip. A user's need is fuzzy until people try a prototype. Defects exist only once chips exist.
They also need different tools. Verification runs simulations of the RTL. Validation uses models, prototypes and early silicon. Manufacturing test uses fast tester machines that apply patterns to every chip in seconds. A design built for testing makes those patterns reach every flip-flop.
Traps
The first trap is "it matches the spec, so it is right". A team verifies a design perfectly against a specification that has a gap. The chip passes every test and still fails its users. Verification engineers help here by asking questions when a specification reads oddly. The next lesson treats that as the first bug of all.
The second trap is mixing up a design bug and a defect. A failure seen on one chip in the lab could be either. If every chip fails the same way, suspect the design. If one chip fails and its neighbours pass, suspect a defect. Debug starts by asking which.
The third trap is believing post-silicon work will catch what simulation missed. It often does find bugs, but each one then costs a respin or a work-around. It is a safety net, not a plan.
Where This Goes Next
This lesson separated the questions. These lessons go deeper into each.
| The idea from this page | Where it is taught |
|---|---|
| Turning a specification into checks | The Specification and the Design Under Test |
| Writing the comparison against a reference in a bench | Where the Right Answer Comes From |
| Checking rules like "red never follows green" on every clock | Why Assertions |
| How a whole chip is verified before first silicon | What the Block Bench Already Proved |
Try It
Run the lab and find the one FAIL in each row.
Give fault B's specification a yellow (set its third number to 1). Predict which columns now fail.
Make fault C's copy perfect (set its last number to 0). Predict the row.
fault A, a design bug (yellow lasts 2 cycles): verification FAIL, validation pass, test pass fault B, a wrong specification (no yellow at all): verification pass, validation FAIL, test pass fault C, a bad copy (yellow lamp wire broken): verification pass, validation pass, test FAILCheck Yourself
Common Mistakes
Wrong Assume a design that matches its specification is the right product.
Verification cannot find a fault in its own reference, the specification.
Fix Validate the specification against users' needs, and question odd requirements early.
Wrong Expect manufacturing test to find design bugs.
It compares each copy with the design, so a wrong design passes in every copy.
Fix Find design bugs with verification, before tape-out.
Wrong Blame the design for a failure seen on one chip.
A defect in that copy fails one chip; a design bug fails all of them.
Fix Check several chips before deciding which kind of fault it is.
Remember
- Every check compares with a reference and cannot find a fault inside that reference.
- Verification: design against specification. Validation: product against need. Test: each copy against the design.
- One fault is usually caught by one of the three and missed by the others.
- Post-silicon validation runs real chips in real systems; it is a safety net, not a plan.