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 |
|
Autonomous controllers, leg transitions, output selection |
|
Shared two minima and selector |
|
Signed sums and outgoing messages |
|
Reduced-product arithmetic |
|
Deterministic coefficients and frame reset |
|
Syndrome consistency |
|
Filtered OSD and solver |
|
Figure regeneration and review |
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.