A security conclusion must say what is protected, which faults are assumed, which boundaries were tested, which counterexamples remain, and what is unknown. An evidence package lets another engineer reproduce the result and see its limits.
Learning objectives and classroom plan
By the end of this lesson, you should be able to:
- Fill a reviewable table of claim, boundary, method, responsibility, and status.
- Replay counterexamples and authorized controls; reject pass claims without denominators.
- Identify coverage-projection loss and prepare risk records that retain unknowns.
Suggested 50-minute teaching plan: Claim definitions 10 minutes; counterexample replay 15; denominator and dimension calculations 15; risk-record discussion 10. This includes student calculations, lab work, and discussion. It is a teaching plan, not measured student completion time.
From claim to evidence
A building inspection cannot end with a “passed” sticker; the reader needs the inspected floors, date, and inaccessible rooms. Hardware review likewise starts from a falsifiable claim, such as: “Under at most one transient upset to the saved flag, with checker, clock, reset, and acceptance endpoint trusted, no unauthorized transaction commits.” The analogy does not replace a product threat model or certification.
Attach the following conditions to each security claim so a reviewer can decide whether a counterexample is in scope:
- Asset and acceptance boundary: what is protected, and the event at which it is first used.
- Attacker capabilities: what the attacker can control, inject, or observe.
- Fault specification: target, effect, timing, and event budget per attempt.
- Trusted components: parts excluded from this fault model and the reasons for trusting them.
- Environment and revision: clocks, reset, operating conditions, design revision, and exclusions.
Then label the evidence method: requirement, RTL review, simulation, formal verification, netlist analysis, physical measurement, or product test. Each answers different questions; the methods are not interchangeable.
Coverage is more than one percentage. List denominators and gaps across target × effect × time × lifecycle × reset/domain bins; include fault-free/authorized controls, counterexamples, and replay hashes. Link each counterexample to root cause, fix commit, and retest. Unsupported or unobservable cases are unknown, not covered.
Separate conclusions into “no counterexample found in scope,” “counterexample exists,” “evidence missing,” and “assumption unverified.” The first does not mean zero risk. A product owner must accept residual risk; a model summary cannot do so.
Make review reproducible
Include claim ID, revision and source, tool/command, inputs and seeds, hashes, classification rules, coverage matrix, failing traces, limits, unknowns, owner, and date. Let the reviewer choose one likely challenge to the claim, then replay both a counterexample and a control case.
Integrated case: write a falsifiable conclusion for the same chip
Open this lesson’s interactive lab
Connect the final six lessons. The teaching chip must boot correctly, control debug, fetch the intended image, and use a production key only in an authorized environment. A reviewer has Boolean matrices, a synthetic campaign, and a calibration exercise. What conclusion do these teaching results support? “The chip passed fault-attack protection” would conflate a teaching model, unperformed tool work, and physical validation.
Choose a specific claim: within stated target/time/effect combinations and an event budget, unauthorized operations do not cross the acceptance boundary. Name that boundary: debug_accept, first_fetch, or first key use. Each needs its own oracle. Correct source check_done does not mean destination debug has observed it; a valid image signature does not authorize production-key lifecycle use. Readers should be able to trace a claim to conditions and counterexamples without guessing which asset the summary protects.
Label the method behind each item of evidence. Lessons 11 and 12 provide Boolean teaching models of acceptance policy; Lesson 13 provides synthetic observations and classification; Lesson 14 provides campaign bookkeeping over fixed fixtures; Lesson 15 provides a synthetic confusion matrix. They teach how to ask verifiable questions. They do not produce product RTL simulation, formal proof, netlist analysis, or physical measurements. The SVA below remains a draft; source code existing is not evidence of tool execution.
| Evidence required by the claim | Recalculable teaching content | Product evidence still needed |
|---|---|---|
| Debug accepts only after destination observation of this check | Lesson 11’s four-row table | Actual CDC/RDC, reset, and acceptance traces |
| Fetch/key follow their own transaction and lifecycle policies | Lesson 12’s six-row matrix | Wiring, independent oracle, image and key-use evidence |
| Blocking precedes unauthorized commit | Lesson 14’s per-fixture classification | DUT/tool revisions, fault stimulus, and replay results |
| Digital effects apply under specified physical conditions | Lesson 15’s eight synthetic records | Traceable measurements, independent validation, unknown effects |
Replay the case most likely to refute the conclusion
Take Lesson 14’s first four attempts with budget 2. try-001 has its first unauthorized commit at teaching edge 4 and alerts afterward. That refutes an “all attempts blocked in time” summary for this fixture. A final alert cannot turn it green. Preserve the first incorrect event before discussing cause and repair. Looking only at a final waveform screenshot can hide an irreversible side effect.
try-004 has a false trigger and no activated fault. Its record establishes that the attempt exists in the specification, not that protection blocked it. try-002 is a faulted case blocked in time. Read the separate ctl-001 mode for the actual fault-free authorized control: commitEdge 3, assertion field PASS, and coverage hit. Counterexamples and controls together help expose a design that merely never accepts anything.
These four attempts select only ROM/t1 and debug/t3. Ten cells in the twelve-cell denominator remain untouched. A packet saying only “four attempts ran” does not locate the gaps. Include the complete denominator and each cell’s state, and separately retain Lesson 15’s two out-of-model unknown effects. Unknown is not a pass or a zero that may be deleted from a table.
Connect a repair to its claim
Suppose review finds that acceptance checks only DUT permission and reference_authorized copies that same signal. A fault changing permission can make both DUT and oracle wrong together. Repair has two parts: how hardware acceptance changes, and how the harness expectation remains independent. The oracle does not prevent a chip side effect; it lets the test recognize a violation.
A repair record links counterexample ID, cause, repaired revision, rerun inputs, and results. Rerun the original failure, a legitimate positive control, and neighboring conditions affected by the repair. For example, waiting for a fresh boot epoch also requires checking that independent reset allows authorization to be re-established. This is a verification plan. The lesson has not changed a DUT, compiled SVA, or obtained new tool results.
Keep unfinished work beside the conclusion: uncalibrated physical effects, unobservable bins, missing CDC evidence, or unverified recovery. NIST SP 800-193 discusses platform-firmware resilience through protection, detection, and secure recovery, reminding reviewers to examine more than alerts. It is not a passing certificate for this teaching campaign. NIST publication. Product owners still need actual evidence when accepting residual risk.
Integrated exercises: review a deliberately incomplete packet
This artificial packet is a review exercise, not a real product report: “All four attempts were safe; try-001 alerted and try-004 had no error. Coverage 95%. Assertion PASS. Physical validation pending.” Its only attachment is a screenshot, without DUT revision, tool version, seed, or replay command.
Exercise A: give specific rejection reasons. Identify at least four unsupported conclusions and the evidence each needs. Go beyond simply saying “insufficient evidence.”
Answer and reasoning: try-001 needs commit/alert order; the existing fixture shows a late alert. try-004 needs actual activation evidence and is presently untriggered. Coverage 95% lacks a denominator and empty bins; the four records reach only two target/time bins. Assertion PASS lacks tool-execution evidence and antecedent occurrence, which a screenshot or uncompiled draft cannot replace. Replay lacks revisions, settings, and inputs. Physical validation remains incomplete. These gaps require different follow-up work.
Exercise B: write a bounded conclusion. Use only the known teaching results for the first four attempts with budget 2. Preserve safety, availability, untriggered, and unknown states.
Answer and reasoning: Write: “Four synthetic attempts under budget 2 applied four events and reached two observable activated bins; ten bins remain untouched. try-001 has an unauthorized commit and late alert, try-002 is blocked in time, try-003 is an availability failure, and try-004 is untriggered. Fault-free controls are counted separately. Completed RTL/netlist/physical validation and out-of-model-effect evidence are absent.” Do not promote this teaching conclusion to a product release decision.
Exercise C: all checklist boxes are checked; can the product be signed off? All six items in this lesson’s interface are checked and the interface says “Checklist complete only; declared unknowns remain open and product assurance is not established.” Explain what the next reviewer still must do.
Answer and reasoning: Six checkboxes record a user’s process declaration. The reviewer must still open artifacts, match hashes and revisions, replay counterexamples and controls, inspect full coverage and unknown ownership, and verify evidence level for each claim. The interface does not validate file contents or sign off a product. Report “no counterexample found within scope,” “counterexample found,” “evidence missing,” and “assumption unverified” separately rather than combining them into one green light.
Classroom derivation: align claims, denominators, and evidence
Prerequisites are requirements and evidence levels. A claim is falsifiable under explicit conditions. An acceptance boundary is where an asset is first used or an operation commits. A trusted component is excluded from this round’s fault model and still needs a separate basis for trust. Turn the terms into answerable questions: which asset, which attacker capabilities, which failure event, and which components remain outside fault evaluation?
The following is a filled teaching evidence packet using this series. Owners are responsibility roles and dates belong to the lesson example; no real person has signed off. The claim column contains requirements to evaluate. The status column records what present evidence supports. Writing a requirement into a table does not establish it.
| Claim ID / boundary | Requirement to evaluate | Present evidence level | Owner role / date | Current status |
|---|---|---|---|---|
| DBG-01 / debug_accept | Accept legitimate requests after destination observation of this completion | Lesson 11 Boolean table and ideal timing calculation | CDC reviewer / 2026-10-08 | Teaching conditions calculated; product CDC/reset pending |
| BOOT-01 / first_fetch | Executed image matches this verified digest, version, and transaction | Lesson 12 matrix and 128-combination enumeration | Boot designer / 2026-10-08 | Teaching policy calculated; product load path pending |
| CAM-01 / commit | Blocking precedes unauthorized commit in the specified campaign | Lesson 14 fixed fixtures | Campaign reviewer / 2026-10-08 | try-001 is a counterexample; requirement not established |
| PHY-01 / effect mapping | Digital effects cover specified physical conditions | Lesson 15 synthetic matrix and method demonstration | Measurement owner / 2026-10-08 | Physical evidence missing; unknowns open |
Starting at CAM-01, trace try-001 to firstBadCommitEdge = 4 and lateAlert = true, then check fixture revision and classification. These fields identify the particular failure event. DBG-01 and BOOT-01 point to condition tables and needed tool work; PHY-01 retains measurement gaps. A reviewer can follow any row to sources, replay calculations, and unfinished work: that is the evidence chain.
Identical 95% figures can hide different gaps
Suppose two complete coverage inventories reach 19/20 and 190/200. Both are 95%, but one has one uncovered cell and the other has ten. Those cells might include production key use, reset, or high-impact effects. Without cell definitions and risk, a larger denominator alone does not establish stronger evidence. Coverage is inventory completion, not an independent Bernoulli success rate to which a confidence interval may automatically be applied.
Construct a more detailed hypothetical inventory: 4 target classes × 2 effects (skip, delay) × 3 time bins × 3 lifecycle states = 72 cells. It is a new denominator, distinct from the old twelve-cell projection. Original fixtures record target/time, without observations across these three lifecycle states. Their 2/12 therefore cannot automatically become 2/72 four-dimensional coverage.
If new records explicitly observe (ROM, skip, t1, PROD) and (debug, delay, t3, PROD), both activated and observable, the new inventory can report 2/72, leaving 70 uncovered. These are newly constructed data conditions, not inferred additions to the original fixtures. Improve coverage by scheduling gaps, retaining missed-target and tool-observability reasons, then entering results in the same inventory revision.
A residual-risk record should identify the next action
A teaching record can say: “PHY-01 lacks physical mapping measurements; multi-bit upset and power-rail coupling are outside the model. Current evidence is limited to classroom models, and product release remains unsigned. The measurement role must propose apparatus, conditions, independent validation samples, and a schedule. If evidence remains missing, submit the issue for a product owner’s decision.” This records the gap, responsibility, and next action without pretending anyone accepted risk.
An actual acceptance record also needs product revision, unmet requirements, impact, mitigation, deadline, decision authority, and basis. Approval is a real governance event performed by an authorized person. This lesson prepares reviewable evidence and does not fill in an acceptance decision. A hash identifies bytes, not a sound method: incorrect analysis can have a correct hash, so review contents and methods too.
Integrated calculation exercise: The new 72-cell inventory has the two observations above. Three further attempts repeat ROM/skip/t1/PROD and all activate observably. How much do attempt count, valid observations, and unique covered bins increase? How many cells remain uncovered?
Worked answer: Attempts and valid observations each increase by 3; unique bins increase by 0. Coverage remains 2/72, with 70 uncovered. Repeats study reproducibility without adding dimensional coverage. If one attempt fails to activate, reduce the increment in valid observations while retaining its attempt record. It still is not a pass.
Replay and compare
Download the program and result JSON into one folder. Run with Python 3.8 or newer:
python rtl-university-workbook-v1.py --output replay.json
Compare replay.json with the supplied result, starting with this lesson’s lesson16 field. sourceSha256 identifies the program’s bytes, separately from mathematical correctness. Editing content or resaving LF as CRLF changes that value. Keep the downloaded original and save student changes separately to distinguish method changes from file changes.
Download the classroom replay program · Inspect the teaching evidence-packet JSON
Offline interactive lab
RTL / SVA review direction
Compose checks for each claim
An integrated review lists assertions, covers for legitimate paths, and outstanding external evidence together. This property-planning table produces no new tool results:
| Claim | Events and conditions to check | Positive controls and external evidence |
|---|---|---|
| DBG-01 | Each debug_accept has independent current-transaction evidence that should have been observed in the destination | Legitimate startup reaches acceptance; separately check CDC/RDC and reset isolation |
| BOOT-01 | Digest, version, and transaction ID at first_fetch match verification; first key use separately checks slot and lifecycle | Legitimate new image fetches and permitted key is usable; separately verify load/DMA paths |
| CAM-01 | No unauthorized commit anywhere in the transaction, not merely on the alert edge | Replay try-001 and ctl-001; establish fault application and observability |
| PHY-01 | SVA checks defined digital events and cannot generate physical mapping evidence | Independent measurements stratified by device and conditions; unknowns remain open |
For example, an alert at edge 5 after output at edge 4 can still pass alert |-> !out_valid. The CAM-01 requirement should check every commit against an independent oracle using transaction ID; define cancellation or retention across reset too. Before combining properties from different lessons, confirm matching revisions, compatible assumptions, and the appropriate sampling domain for each.
These are property sketches: define the harness transaction, reset and oracle, then confirm sampling boundaries before binding to the design. They have not been compiled or proven.
assert property (@(posedge clk) disable iff (!rst_n)
accepted_commit |-> reference_authorized);
cover property (@(posedge clk) disable iff (!rst_n)
accepted_commit && reference_authorized);
If accepted_commit never occurs, the implication can pass vacuously because its antecedent is false. Use a cover property to show that a legitimate acceptance path is reachable. This does not prove the fault path is available. Record untriggered or unapplied faults separately; classify an availability failure only when legitimate service is actually affected.
This snippet does not prove CDC, timing, side-channel, or physical injection behavior; each requires its own tool evidence or measurement.
Check your reasoning
- Recognition — What is the difference between a security claim and its evidence? Reasoning: A claim states what should hold under stated assumptions. Evidence records the artifact, method, inputs, and observations used to assess it.
- Contrast — How does an independent test oracle differ from a chip defense? Reasoning: The oracle supplies expected outcomes to the testbench. It does not stop the DUT from accepting an unauthorized operation.
- Scenario — A reviewer receives a counterexample screenshot without a seed or input trace. Can it be replayed? Reasoning: Not reliably. Provide the source/DUT hash, tool and version, configuration, seed, input, expected result, and replay command.
- Failure diagnosis — A report says 95% coverage but gives no denominator or untouched bins. What remains unknown? Reasoning: The reviewer cannot tell which target/time cases were covered or what the percentage counts. Report the denominator and empty bins.
- Design risk / transfer — Physical validation is outside this campaign. What belongs in the release packet? Reasoning: Name it as an open unknown, state the consequence and owner, and define the evidence needed. Do not turn an incomplete packet into product assurance.
References
MY ACADEMY · LESSON FILM
Lesson video
The film explains this lesson’s data path. After a section, return to the interactive exercise and change the input or fault conditions. The animation presents a teaching model; it does not replace RTL simulation.
Swipe the film horizontally, or use the arrow keys to inspect the diagrams.
Diagram scope
Teaching model · Not RTL simulation or silicon testing
Replayable evidence supports stated scope; not product validation, certification or risk acceptance
Narration uses a synthetic voice. Both the interaction and animation have model boundaries; interpret results using this lesson’s sources and validation scope.
Wrap-up: take this lesson into a design review
- Threat model and assumptions
A claim bounds the asset, acceptance boundary, fault capability, trusted components, revision, and exclusions.
- Why the design fails
A single pass rate, tool PASS, or lack of counterexamples is treated as universal security despite gaps and unverified assumptions.
- Defenses
Link each claim to replayable evidence, coverage denominators, counterexamples, fixes, and the residual-risk owner.
- Validation and checks to perform
Check revision/hash/commands/seeds/coverage bins/controls/counterexamples/limits/unknowns; a second reviewer can replay samples.
- Limits and unverified claims
Documentation and model evidence support only their stated scope; they do not replace product validation, certification scope, or risk decisions.
Try a changed assumption
Choose an unverified CDC assumption. Add minimum acceptable evidence and an owner; which gaps must block release?
This wrap-up summarizes the lesson’s teaching cases, references and experiment scope. Checks not reported as completed remain future work.