Skip to content

Releases

Loop Timing Witness 0.4.0

Choose a tag to compare

@anulum anulum released this 21 Nov 09:17
v0.4.0

Loop Timing Witness 0.4.0 is the release of the work since 0.3.0. The source archive binds commit 5fc0873b9d76298a379ef1586fc694bd9484f0dc, which is also archived on Zenodo as version 0.4.0 of the existing record (DOI 10.5281/zenodo.24405489). The analysis package is on PyPI and the controller crate on crates.io, both as 0.4.0.

Highlights

  • Register map 2. The fault schedule moves to its own 4 KiB page at 0x1000, so a system can withhold it from the controller under test; the run page refuses the old offsets, 0x7c reads 2, the Icicle FIC0 slot spans 8 KiB, and run_uio maps the fault page as a separate UIO device only to arm a fault.
  • Pulse-per-second reference input. The witness timestamps each rising edge of an external pulse per second (event code 18) in write slots no control event claims; the report's reference_timebase fits the counter's rate against it, with bit-identical results in Python and Rust, and the uncertainty budget uses the fit in place of the oscillator bound.
  • Tail statistics. python -m loop_timing_witness.tail_intervals gives moving-block bootstrap intervals for p95, p99 and p99.9 with a minimum-sample rule; every report gains weakly-hard (m, K) deadline metrics. Both languages agree bit for bit.
  • External calibration. Three event mirror pins and an external time-tagger cross-check in the acceptance procedure.
  • Linux context and root causes. Native run metadata record the real-time kernel configuration; --trace-stop miss|safe stops kernel tracing at the first missed deadline, with the trace bound to the run manifest.
  • Measurement method. A GUM uncertainty budget, the window-mean energy method with a marginal energy-per-cycle fit, a float64 controller reference with timing margins, differential fuzzing of the run input readers, temporal-induction proofs and a dual-clock buffer proof.
  • Board design notes. AMP placement (L2-LIM, way partitioning, stress protocol), and Libero SoC 2026.1 runs of the release derivation for MPFS250T and MPFS250T_ES: timing met in three corners, capture clock setup slack +2.531 ns and +2.655 ns.
  • Release checks. The repository contract requires one version in every package, crate manifest, lock file, citation and publication workflow.

Registry artifacts

  • PyPI: loop-timing-witness 0.4.0, built by the hosted publish workflow from the release commit.
  • crates.io: witness-controller 0.4.0; its library is unchanged since 0.1.0 and the version follows the project.

Not qualified

  • Bitstream programming
  • Physical timing of the 100 MHz witness capture clock and its CDC paths on a programmed board
  • Physical UIO/IRQ/IIO acquisition, including the fault page
  • Event mirror pins and the pulse-per-second reference input on a board
  • Privileged scheduling
  • Icicle board timing, energy and control measurements

The physical evidence maturity remains architecture_only.

Assets

  • loop-timing-witness-0.4.0.zip: git archive of the tagged commit.
  • release-provenance.json: archive digests, the SHA-256 of every source file, the registry artifacts and the hosted workflow runs of the commit.

Loop Timing Witness 0.3.0

Choose a tag to compare

@anulum anulum released this 16 Nov 00:00
v0.3.0

Loop Timing Witness 0.3.0 is a source release of the work since 0.2.0. The source archive binds commit 8591cb6e67a4579cb20fdff6132ad48ec00bf7bb, which is also archived on Zenodo as version 0.3.0 of the existing record (DOI 10.5281/zenodo.24263979).

Highlights

  • Libero project generation. The derived Icicle Kit reference project now generates in Libero SoC 2026.1 for MPFS250T. The witness script adds the witness HDL core on FIC0 slot 2, MSS interrupt bit 11 and a separate CCC for the 100 MHz capture clock after the base design has generated. The derivation edits only two vendor files and keeps the reference's design-rule settings.
  • Recorded Libero timing run. Synthesis, place-and-route and timing in three corners (MPFS250T, FCVG484, STD): every reference clock meets timing and hold is met in every domain. The witness capture clock misses 10 ns by 2.419 ns in the plant model and reference generator. The witness clock-domain crossings are not yet constrained. Report digests are in hardware/icicle/README.md.
  • Capture selection in a comparison tree. control_event_capture chooses each record with a three-level comparison tree and pops a group from its remaining-event mask. Every output is unchanged in every cycle: a SAT proof over all inputs, and co-simulation of both versions.
  • Native RTL simulation evaluates only after a change. Simulation::tick no longer evaluates the model on steps without an input or clock change. Outputs are byte-identical across the native run test matrix; a 60-cycle PID run takes 2.11 s instead of 3.61 s on the recorded host.
  • Native analysis memory. The native run command writes its per-cycle interval and jitter tables row by row. Its peak memory falls from about 2.1 times Python's to about 0.31 times.
  • Release asset builder. tools/release_provenance.py builds the source ZIP and release-provenance.json from the tagged commit.
  • Timing records. Control-run analysis timing, hosted and local: the native commands are 21.7× (run) and 25.0× (campaign) faster than Python on the hosted runner.
  • Maintainability. Long functions split by responsibility: 310 to 5, each of the five kept for a stated reason.

Registry artifacts

  • No registry artifact is built from this release.
  • PyPI keeps loop-timing-witness 0.2.0: the package code changed only by behaviour-identical refactoring.
  • crates.io keeps witness-controller 0.1.0: its library is unchanged.

Not qualified

  • Libero timing closure of the 100 MHz witness capture clock and its CDC constraints
  • Bitstream programming
  • Physical UIO/IRQ/IIO acquisition
  • Privileged scheduling
  • Icicle board timing, energy and control measurements

The physical evidence maturity remains architecture_only.

Assets

  • loop-timing-witness-0.3.0.zip: git archive of the tagged commit.
  • release-provenance.json: archive digests, the SHA-256 of every source file, and the hosted workflow runs of the commit.

Loop Timing Witness 0.2.0

Choose a tag to compare

@anulum anulum released this 14 Nov 17:28
v0.2.0

Loop Timing Witness 0.2.0 releases the work since 0.1.0. The source archive binds commit 1ced8822a947a2dd7a5d5e9376187b0fa36620f6, which is
also archived on Zenodo as version 0.2.0 of the existing record (DOI 10.5281/zenodo.24222960).

Highlights

  • Native analysis with Python parity. The Rust analysis crate loads and reports control runs, repeat
    campaigns, AMP captures, AMP repeat campaigns and neural step runs. It reads AMP image receipts, run
    configurations, firmware ELF files, device trees and dependency records, with the Python analysis's
    outcomes and refusal texts. Shared corpora hold both implementations equal.
  • New Python analysis: repeat campaigns, neural step-run analysis and per-run adjacent-cycle latency jitter.
  • Host-derived limits. Hang guards in tests, tools and native tests follow one declared host timeout scale
    (WITNESS_HOST_TIMEOUT_SCALE; absent means the reference profile). Build parallelism follows the host. The
    policy limits are named separately in VALIDATION.md.
  • Toolchain. Python 3.15.2, Rust 1.100.0, the newest development tools, and the newest crate lock.

Breaking changes

  • The Python package requires Python 3.15 or later; 0.1.0 accepted Python 3.13.
  • The native crates require Rust 1.100.0.

Registry artifacts

  • PyPI: loop-timing-witness 0.2.0, built from this commit by the hosted publish workflow with OIDC attestations.
  • crates.io: witness-controller is unchanged and stays at its immutable 0.1.0 publication.

Scope

Physical evidence remains architecture_only: no board instrument is qualified, and no measured hardware timing,
energy or control result is claimed.

Assets

  • loop-timing-witness-0.2.0.zip: SHA-256 40acb25fc2777b81a00e8b2b985359ce62a962f1966577067d1d8040ebe35ea8, 4202006 bytes
  • release-provenance.json: SHA-256 24884ee3278864032d97854e1f8bdc77d4edceb8a98c4408e8e534553c6e83bb, 110807 bytes
  • PyPI loop_timing_witness-0.2.0-py3-none-any.whl: SHA-256 cab489f904d3ad8a9956872777b31e1b84cd27019d733e005a5c2a3b9a16c39f
  • PyPI loop_timing_witness-0.2.0.tar.gz: SHA-256 ebb7896d99ecf7cb05c84414130016a05f4567765ecccac7839ab974c77a9f30

The full list of changes is in CHANGELOG.md.

Loop Timing Witness 0.1.0

Choose a tag to compare

@anulum anulum released this 02 Oct 02:18

Loop Timing Witness 0.1.0 provides typed Python host analysis, a standalone Rust controller crate, production C/Rust/RTL controllers, and RTL/RISC-V simulation with hash-bound run records.

The source tag/archive binds commit 1d12e03. The previously published Python and Rust 0.1.0 distributions bind publisher commit 4cffb60; their package implementations are unchanged. release-provenance.json records the distinct source and registry artifact hashes. This release does not replace those immutable distributions.

Verification includes Python statement/branch coverage, original-width RTL source-flow proof (826 executed identities plus eight checked source invariants out of 834), and native serial-lifecycle races, drains and actual timeout supervision. RunControl records 103/104 executable lines and 75/94 compiler arcs per plant; 13 compiler exception arcs and six source/guard continuations remain explicitly accounted for. No allocation/unwind execution or physical acquisition is inferred.

API references: https://anulum.github.io/loop-timing-witness/
Known hardware/vendor gates: #5, #6, #7.

Evidence maturity remains architecture_only. A board, Libero qualification, actual UIO/PAC1934 operation and measured acceptance records are still required. AGPL-3.0-or-later; commercial licensing is available from the project owner.

The owned TLS transport test enforces TLS1.2 and refuses a real OpenSSL TLS1.1 handshake before verifying authenticated modern TLS. The metrics writer refuses unexpected pre-existing tracked paths before import.

Permanent software archive: https://doi.org/10.5281/zenodo.23092361 (Zenodo record https://zenodo.org/records/23092361). The source ZIP and provenance manifest were downloaded independently and verified by SHA-256.

Portable source verification signature: source-v0.1.0.sigstore.json, covering the unchanged source ZIP and provenance manifest. The GitHub OIDC/Sigstore signing workflow binds revision a52dc950e9966e45dad7b9f90a70318035c9bef4 separately from artifact source 1d12e0342d5320f62182fef41709773f3c555b50. Download and verify the signed source assets.