VF.5.2 Read the Fault Table

MediumImplement22 minIcarus Verilog · serverReview the topic

Read the chip's fault table by column. Find what each kind of check caught, what only it caught, and what would escape without it.

Hardware context: The tools of SoC verification around ap_soc v1.5, and the qualification fault table. Reading the fault table by column.

docs/soc/fault-table.md lists 130 seeded faults of ap_soc v1.5. For each fault it marks which kinds of check showed it on its reference test. The five kinds are firmware, bus manager, passive checker, model compare and formal. Work from the lesson's lab, which counts the table column by column, and from the two rows below.

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
Faultfirmwarebus managerpassive checkermodel compareformal
Q064: the serial input samples the clock padyesyesyesnoyes
Q003: XOR suppresses differing operand bitsnononoyesno

Column numbers: 0 firmware, 1 bus manager, 2 passive checker, 3 model compare, 4 formal.

EntryYour decision
FIRMWAREHow many faults did firmware catch?
MODELHow many did the model compare catch?
FORMALHow many did formal proofs catch?
FW_MISSEDHow many faults did firmware not catch?
MODEL_ONLYHow many faults did only the model compare catch?
BOTH_SEATSHow many faults did both firmware and the bus manager catch?
NEITHER_SEATHow many faults did neither firmware nor the bus manager catch?
Q064_TOOLSHow many of the five kinds of check caught Q064?
Q003_TOOLSHow many caught Q003?
NO_COLUMNWith all five columns, how many faults did no column catch?
ESCAPESLeave out column D. How many faults would then be caught by no column at all?

Examples

Example 1

FIRMWARE
Input
How many faults did firmware catch?
Output
matches = 1

Count the rows with yes in the firmware column.

Example 2

MODEL
Input
How many did the model compare catch?
Output
matches = 1

Core faults that a passing test never notices: wrong results, or a wrong record of what the core did.

Example 3

FORMAL
Input
How many did formal proofs catch?
Output
matches = 1

Wiring faults, proved against the wiring contract.

Constraints and Contract

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

Hints

Hint 1

Every yes in it is a fault that check caught.

Hint 2

A fault caught by one column alone escapes if that column goes.

Hint 3

A fault no check can show teaches nothing, so the set keeps faults that some check catches.

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

15 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

FIRMWARE

Input
How many faults did firmware catch?
Expected output
matches = 1

Count the rows with yes in the firmware column.

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

Icarus Verilog · server