B1.2.1 Verification, Validation or Test?

EasyImplement12 minIcarus Verilog · serverReview the topic

For each fault, name the check designed to catch it: verification, validation, manufacturing test or post-silicon validation.

Hardware context: A traffic light controller: its specification, its RTL and its manufactured copies. Telling a design bug from a defect when one chip fails in the lab.

Each check compares with a different reference. Enter the code of the check whose reference shows the fault. The numbers in the entries are exercise values.

This worksheet uses named constants. The first three entries show how to record your decisions.

Replace each unresolved value of 255 with your result.

Signals in the Timeline

SignalWidthRole
question8input of each check
Full specification
CodeCheck
1Verification: the design against the specification
2Validation: the product against what users need
3Manufacturing test: each made chip against the design
4Post-silicon validation: the first real chips in a real system, at full speed
EntryYour decision
YELLOW_LONGThe RTL holds the yellow lamp 2 cycles; the specification says 1.
NO_YELLOW_SPECThe specification forgot the yellow lamp, and the RTL follows it.
DUSTOne chip has a wire shorted by a speck of dust.
ADDERThe adder RTL gives 1 + 7 = 0.
SLOW_BOOTThe specification says boot in 2 seconds; customers need under half a second.
FULL_SPEEDA bug appears only after hours of real software at full speed, on the first boards.
OPEN_VIAThree chips in a thousand fail one pattern because a connection between layers is open.
COUNT_WRAPThe counter RTL wraps after 10; the specification says after 9.
SHOULD_HAVEA failure is seen on a lab board. ALL_CHIPS is 1 if every chip tried fails the same way, 0 if only one chip fails and its neighbours pass. Which check should have stopped it first? Enter a check code.

Examples

Example 1

YELLOW LONG
Input
The RTL holds the yellow lamp 2 cycles; the specification says 1.
Output
matches = 1

Design and specification disagree: verification.

Example 2

NO YELLOW SPEC
Input
The specification forgot the yellow lamp, and the RTL follows it.
Output
matches = 1

Design and specification agree; only users' needs show the gap.

Example 3

DUST
Input
One chip has a wire shorted by a speck of dust.
Output
matches = 1

The design is right; one copy differs from it.

Constraints and Contract

  • Keep the parameter and named constants. Use the numeric codes and units on this page.
  • For SHOULD_HAVE, enter a constant expression using ALL_CHIPS. Only this entry changes with the parameter. The supported integer range is 0 through 1, inclusive.

Hints

Hint 1

Specification, users' need, or the design itself?

Hint 2

The design from the document, the document from the need, or one copy from the design?

Hint 3

All copies failing means design; one copy means defect.

What the grader checks: Each check compares the full eight-bit answer. Parameter trials change one condition and keep the other decisions fixed.

13 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 1 problem 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

YELLOW LONG

Input
The RTL holds the yellow lamp 2 cycles; the specification says 1.
Expected output
matches = 1

Design and specification disagree: verification.

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

Icarus Verilog · server