Verification

Run the complete Scala reference and Verilator-backed test suite:

./scripts/test.sh

Emit and lint an inspectable hardware target:

./scripts/emit.sh static-steane
./scripts/verify-rtl.sh \
  build/generated/static-steane/StaticTannerDatapath.sv \
  StaticTannerDatapath

The experiment runner compares prepared frames with the independent Scala integer reference at every requested stopping budget before the bulk RTL run. sampling.verification_shots sets the fixture count (default 8 per probability). Distinct sampled frames are used first; synthetic single-fault fixtures fill remaining slots and never enter the failure statistics. This is separate from an all-shot software comparison. The bulk report recomputes failure from saved decoder status and logical outcomes and checks shot coverage.

Each run retains resolved configuration, source and artifact hashes, tool versions, raw rows, and reports. Preserve the whole run directory for a published result. The historical BB144 archive retains its own verification scope and source identity.

Implementation checks

The background, BP architecture, and Relay architecture link equations to production functions and signals. The suites below check those implementations against reference calculations and protocol expectations.

The archived BB144 plots have a separate provenance statement. Their summary/data checks do not establish all-shot RTL equivalence. Check the documentation’s saved figures and manifests with:

make -C docs check-assets

Material

Source or check

Captured integer-reference steps and final outcomes

AnimationTraceSpec.scala; separate min-sum fixtures, not the sum-product teaching animation

Shared core and two-clock updates

StaticTannerDatapathSpec

Autonomous controllers, leg transitions, output selection

BpDecodersSpec

Shared two minima and selector

TwoMinSpec.scala, CheckNodeSpec.scala

Signed sums and outgoing messages

VariableNodeSpec.scala

Reduced-product arithmetic

RelayBiasSpec.scala

Deterministic coefficients and frame reset

RelayCoefficientsSpec

Syndrome consistency

ConvergenceCheckerSpec

Filtered OSD and solver

FilteredOsd0Spec, SystolicGf2SolverSpec

Figure regeneration and review

Contributor instructions

Captured integer fixtures

AnimationTraceSpec replays eight numerical steps and four final outcomes from earlier quantized min-sum and Relay examples. These Steane and uniform-prior traces retain their original provenance and source comparison. They are independent of the sum-product animation now shown in the documentation.