protocol-emulator

Results

The claims CI checks, the job that checks each, and its last run on main where every job behind it was green. Written by test/results.py at 2026-12-05 01:01 UTC from the job logs, so it shows only what CI printed. Teeth are weakened copies and mutants that have to fail. Job time adds up jobs that ran in parallel. The assumptions and the tools trusted are under What is not proved. The board runs are recorded in test/board, and CI checks the recordings again but can't rerun the board. Repository, playground, corpus.

Mutants killed
Claims proved for all time
Netlist equals RTL
RTL tests
Gate-level tests
Gate-level tests with the router's delays
Board runs checked again

53 claims: 36 proved for all time, 1 proved to depth 140, 1 proved to depth 120, 3 checked, 1 tested, 5 simulated, 5 on the board, 1 not verified.

ClaimStatusCI jobLast green runDateTeethJob time
The theorem
For any program, and any table of intervals the kernel accepts, the core never misses a deadline: step lemma and kernel check in one runproved for all time
1 passed, 1 cover reached
phase_table_proof
ocaml / phase_table
47405296927 at 3f0d3e22026-12-046, all failed as expected20 min 44 s
The same for rows that also bound the phase less a multiple of the loop counter, with the kernel's check of one step proved per opcodeproved for all time
12 passed, 1 cover reached
phase_table_affine_proof
ocaml / phase_table_affine
47405296927 at 3f0d3e22026-12-0410, all failed as expected16 min 21 s
For any program, the core moves between entries as the kernel's step says, and a deadline wait entered in time never faults (k-induction on the RTL). A timer that stops at its top instead of wrapping has to fail itproved for all time
2 passed, 2 covers reached
phase_step saturating_proof
ocaml / saturating, test / Prove (2 jobs)
47405296927 at 3f0d3e22026-12-0416, all failed as expected12 min 24 s
For any program and any table of intervals the kernel accepts with a spacing, each counted edge of a watched pair is spaced (no Manchester or line code)proved for all time
24 passed, 1 cover reached
phase_spacing_part
ocaml / phase_spacing (11 jobs)
47245314318 at 368ac5d2026-12-043, all failed as expected22 h 09 min
Inside the two-engine chip, each engine running a table the kernel accepts never misses a deadline, and each edge it drives comes the cycle after an entry inside its row, or is the release when it faultsproved for all time
2 passed, 1 cover reached
fail_safe_table_proof
ocaml / fail_safe_table
47405296927 at 3f0d3e22026-12-046, all failed as expected13 min 00 s
An accepted table is closed under the kernel's step, over every instruction word and row; every UNSAT is cadical's, checked by cake_lprproved for all timedune build @runtest
ocaml / test / Run tests
47405296927 at 3f0d3e22026-12-04expect tests: a proof with one line corrupted is refused53 min 27 s
The kernel's Verilog, which the RTL proofs read, equals the gates its SAT proofs buildproved for all time
2 passed
kernel_equiv
ocaml / test / Prove
47405296927 at 3f0d3e22026-12-042, all failed as expected27 s
Seven of the k-inductions each have a Certifaiger witness, every check of it an UNSAT that cake_lpr verifiesproved for all time
7 passed
witness_proof
ocaml / witness (7 jobs)
47405296927 at 3f0d3e22026-12-0443, all failed as expected59 min 31 s
Across one-field variants of the library, no firmware the kernel accepts misses a deadline in a runnot verifiedsplit.exe
reject split
no run on main; no such job in CI's newest runs
The chip's own check
A start reaches an engine only while it is certified, and it is certified only by an accepted walk that began after the last program, configuration or line table write to it, on the chip as builtproved for all time
1 passed, 2 covers reached
gate
ocaml / test / Prove
47405296927 at 3f0d3e22026-12-048, all failed as expected4 min 18 s
An accepted walk checked every pc against the rows at its successor and its targetproved for all time
1 passed, 2 covers reached
certify
ocaml / test / Prove
47405296927 at 3f0d3e22026-12-042, all failed as expected4 min 14 s
The walk always ends, with the verdict, reject pc and reason of src/load_check.ml's modelproved for all time
1 passed, 2 covers reached
complete_proof
ocaml / complete
47405296927 at 3f0d3e22026-12-043, all failed as expected11 min 40 s
Lemmas on the RTL
The pins change only the cycle after an entry that writes themproved for all time
2 passed, 2 covers reached
edge_step
ocaml / test / Prove
47405296927 at 3f0d3e22026-12-046, all failed as expected24 s
A pin wait releases, and a jump on the pin goes, by the sample of its own cycleproved for all time
1 passed, 1 cover reached
event_step
ocaml / test / Prove
47405296927 at 3f0d3e22026-12-045, all failed as expected7 s
A pin outside an engine's footprint keeps 0 from the clearproved for all time
2 passed, 2 covers reached
frame_step
ocaml / test / Prove
47405296927 at 3f0d3e22026-12-048, all failed as expected18 s
Two engines with disjoint footprints drive and read their pads as they would aloneproved for all time
2 passed, 1 cover reached
chip_frame
ocaml / test / Prove
47405296927 at 3f0d3e22026-12-043, all failed as expected18 s
Engine 0's pins and host reads are the same whatever engine 1 is given, under the premises formal/isolation.sv listsproved for all time
1 passed, 1 cover reached
isolation_proof
ocaml / test / Prove
47405296927 at 3f0d3e22026-12-0414: 10 failed and 4 could not be proved, as expected4 min 47 s
A faulted engine drives no pin from the edge its fault shows, halts within two edges and stays halted until the next clear, with each engine's configuration fixedproved for all time
1 passed, 1 cover reached
fail_safe
ocaml / test / Prove
47405296927 at 3f0d3e22026-12-046, all failed as expected31 s
What out, mov, in, push and pull write is the ISA's function of the shift registersproved for all time
2 passed, 2 covers reached
value_step
ocaml / test / Prove
47405296927 at 3f0d3e22026-12-0412, all failed as expected1 min 10 s
Each out sends the bits of the last pulled word that the osr count namesproved for all time
1 passed, 1 cover reached
data_step
ocaml / test / Prove
47405296927 at 3f0d3e22026-12-043, all failed as expected6 s
Issue timing depends on nothing but the delay fieldproved for all time
1 passed, 1 cover reached
issue_timing
ocaml / test / Prove
47405296927 at 3f0d3e22026-12-045, all failed as expected6 s
When and how the host talks reaches the pins only through the program's own fifo waits and tests, or a faultproved for all time
3 passed
host_timing late_host
ocaml / test / Prove
47405296927 at 3f0d3e22026-12-0412, all failed as expected19 s
The fifos keep their orderproved for all time
1 passed, 1 cover reached
fifo_order
ocaml / test / Prove
47405296927 at 3f0d3e22026-12-041, all failed as expected5 min 45 s
Receivers
The USB receiver writes any one packet to the data memory as it was sent, at any sampling phase and exactly 8 samples a bit: data up to 8 bytes with its CRC-16, a token with its CRC-5, or a handshakeproved for all time
3 passed, 4 covers reached
usb_roundtrip_proof
ocaml / test / Prove
47405296927 at 3f0d3e22026-12-047, all failed as expected2 min 21 s
USB's bit stuffing sends any stream of up to 96 bits with a 0 after six 1s, and otherwise each bit once and in orderproved to depth 140
1 passed, 1 cover reached
line_stuff_proof
ocaml / test / Prove
47405296927 at 3f0d3e22026-12-043, all failed as expected1 min 35 s
The 10BASE-T receiver writes any one frame as it was sent, with its FCS verdict, at 40 and 50 MHz, at any sampling phase, with drift and jitterproved for all time
3 passed, 1 cover reached
frame_roundtrip_proof
ocaml / test / Prove
47405296927 at 3f0d3e22026-12-045, all failed as expected19 min 47 s
Per-firmware proofs
Each library firmware's certificate holds for all time, by induction, under the assumptions test/test_certified.ml listsproved for all time
78 passed
inductive_proof
ocaml / inductive_certificate (6 jobs)
47405296927 at 3f0d3e22026-12-04254, all failed as expected40 min 55 s
For the five transmitters that pull by hand, the pins show the right bit of the right host wordproved for all time
5 passed
data_proof
ocaml / inductive_certificate
47405296927 at 3f0d3e22026-12-049, all failed as expected1 min 09 s
Each uart_tx_stamped frame carries the low 16 bits of the cycle its start bit showed on the pinproved for all time
1 passed
stamped_proof
ocaml / inductive_certificate
47405296927 at 3f0d3e22026-12-043, all failed as expected3 min 42 s
uart_tx on engine 0 to uart_rx on engine 1 over an on-chip wire, 10 cycles a bit: engine 1 pushes the low byte of each word engine 0 pulled, once a frameproved for all time
1 passed, 1 cover reached
link_proof
ocaml / link
47405296927 at 3f0d3e22026-12-044, all failed as expected15 min 37 s
The UART to SPI bridge on both engines: each frame on IN0 reaches SCK and MOSI, every edge a fixed number of steps after its stop bitproved for all time
1 passed
bridge_proof
ocaml / link
47405296927 at 3f0d3e22026-12-044, all failed as expected2 h 03 min
hardcaml_hobby_boards' Uart.Tx, compiled to firmware, drives the core's pin as the circuit drives its line, 4 cycles later, at 4 clocks a bit, for bytes at least 4 cycles after readyproved for all time
1 passed
fsm_miter_proof
ocaml / test / Prove
47405296927 at 3f0d3e22026-12-043, all failed as expected1 min 11 s
Self_check.checker, for one set of edges on pin 0, rows at 0, on one engine with a private data memory, its program and rows as ROMs and the host idle: no irq, no halt and none of its own deadlines missed until the line leaves its rowsproved for all time
1 passed
self_check_clean_proof
ocaml / self_check / Prove
47405296927 at 3f0d3e22026-12-042, all failed as expected2 min 01 s
Self_check.checker's irq only after a break and by the contract's deadline, for 116 cycles from the clear, which reach the first frame's deadline only if the first fall comes by about cycle 22proved to depth 120
1 passed, 1 cover reached
self_check_proof
ocaml / self_check / Prove
47405296927 at 3f0d3e22026-12-044, all failed as expected45 min 36 s
From RTL to silicon
The flop program memory equals IHP's model of the 512x16 SRAM, step for step from any contentsproved for all time
1 passed
sram_equiv
ocaml / test / Prove
47405296927 at 3f0d3e22026-12-043, all failed as expected1 min 00 s
Power-up is deterministic: two copies of the chip from any two states of their flops and fifos, with the same words in their SRAMs, reset at the first edge and given the same pins, drive the same pinsproved for all time
2 passed
powerup
ocaml / test / Prove
47405296927 at 3f0d3e22026-12-044: 3 failed and 1 could not be proved, as expected3 min 50 s
The hardened netlist equals the RTL for all time from all flops 0proved for all time
1 passed; 48413 logic cells compared
netlist_equiv netlist_equiv_teeth
gds / netlist_equiv / Prove the netlist equal to the RTL, and fail on five mutants
46133827795 at d4bfa312026-11-285, all failed as expected19 min 28 s
The same from any state, once resetproved for all time
1 passed
netlist_anystate netlist_anystate_teeth
gds / netlist_equiv / Prove the netlist from any state equal to the RTL after reset, and fail on two mutants
46133827795 at d4bfa312026-11-282, all failed as expected29 min 14 s
One clock, and every other pin read by one two-flop synchroniser, on the RTLchecked
1 passed
sync_rtl sync_rtl_teeth
ocaml / test / Prove
47405296927 at 3f0d3e22026-12-044, all failed as expected1 min 42 s
The same on the hardened netlistchecked
1 passed
sync_gate sync_gate_teeth
gds / netlist_equiv / Check one clock and a two-flop synchroniser on every pin, and fail on five mutants
46133827795 at d4bfa312026-11-285, all failed as expected7 min 28 s
The hardened design passes Tiny Tapeout's precheckcheckedtt-gds-action/precheck
gds / precheck
46133827795 at d4bfa312026-11-28none, a check10 min 18 s
Yosys's ECP5 netlist of each bitstream the bench loads, at 48 and 40 MHz, equals the RTL, from all flops 0 and from the configured stateproved for all time
2 passed
make -C icepi equiv; icepi_equiv_teeth
ocaml / icepi_equiv (2 jobs)
47405296927 at 3f0d3e22026-12-043, all failed as expected1 h 46 min
Tests
The cocotb tests and recorded pin traces pass on the RTLsimulated
51 passed
make -C test; make replay
test / test
47405297027 at 3f0d3e22026-12-04the mutation row3 h 16 min
The same on the hardened gate-level netlistsimulated
73 passed
tt-gds-action/gl_test; make replay GATES=yes
gds / gl_replay, gl_test (4 jobs)
46133827795 at d4bfa312026-11-28the mutation row9 h 09 min
The same again with the router's delays, at the slow, typical and fast cornerssimulated
174 passed
make -C test sdf_slow sdf_typ sdf_fast
gds / gl_sdf (54 jobs)
46133827795 at d4bfa312026-11-28the mutation row101 h 48 min
The same on the Icepi Zero's ECP5 netlist, timing met at 48 MHzsimulated
60 passed; 50.21 MHz routed
make -C icepi; make ICEPI=yes; make replay ICEPI=yes
ocaml / fpga / Build for the Icepi Zero and simulate the netlist (4 jobs)
47405296927 at 3f0d3e22026-12-04the mutation row13 h 06 min
sigrok's decoders read the gate-level netlist's outputs as they read the RTL'ssimulated
100 passed; 31 of 31 protocols
demo/decode.py on the gate level's traces
gds / gl_replay / Decode the gate level's traces with sigrok (3 jobs)
46133827795 at d4bfa312026-11-28124, all failed as expected2 min 16 s
Every textual mutant of the engine, decoder, pins and host port is killed by the tests, or allowed with a reasontestedtest/mutate.py
mutation / mutate, score (34 jobs)
46889887586 at 33113852026-12-02126 of 128 mutants killed; of the 2 survivors 2 allowed with a reason, 0 not; engine scope81 h 41 min
On the board
Every run committed in test/board: its hashes, sigrok's decode, the bytes sent and the timing windows check again, and each tooth is refusedon the board
42 passed; partial: lin
demo/witness.py check test/board/*/
ocaml / decode / Board witnesses
47405296927 at 3f0d3e22026-12-0485, all failed as expected5 min 20 s
The eight sealed held-out protocols, written blind from their specs, on the board (LIN only in part, see docs/flexibility.md)on the board
8 passed; all on bitstream 012dc5e1b0769f12; partial: lin
demo/witness.py check test/board/*/
ocaml / decode / Board witnesses
47405296927 at 3f0d3e22026-12-0416, all failed as expected5 min 20 s
Delay variants of the swept firmware through the chip's own check: none it accepted ran late, none it refused started, and each verdict is its model'son the board
1 passed; 3735 variants of 8 firmware on the chip's own check, 3711 ok accepted, on time, 24 ok refused by both
demo/witness.py check test/board/kernel_vs_board
ocaml / decode / Board witnesses
47405296927 at 3f0d3e22026-12-046, all failed as expected5 min 20 s
A fault lets go of the pins and halts the engine while the other runs onon the board
1 passed; SWDIO rose at 1.576 s and stayed high, the blink toggled 25858182 times after, engine 0 halted with STATUS 0x0005 at pc 6 through a start
demo/witness.py check test/board/fault_release
ocaml / decode / Board witnesses
47405296927 at 3f0d3e22026-12-043, all failed as expected5 min 20 s
The chip records a transmitter it was not told about, and firmware learned from that sends a message never recorded, which sigrok readson the board
6 passed
demo/witness.py check test/board/learn_*
ocaml / decode / Board witnesses
47405296927 at 3f0d3e22026-12-046, all failed as expected5 min 20 s

Status

proved for all time
a proof over every state, input or program it names, with no bound on time: induction, PDR, or an UNSAT checked by cake_lpr
proved to depth N
a bounded proof: every run of N steps from the clear, nothing past it
checked
a structural check of every cell of a netlist, or Tiny Tapeout's precheck
tested
many runs, mutants or variants, not all of them
simulated
cocotb tests and recorded pin traces on a design in simulation
on the board
a run of the chip's Verilog on an Icepi Zero, recorded in test/board. CI decodes each capture again and checks its hashes, the bytes sent and the timing windows, and that each tooth is refused. CI can't rerun the board
not verified
no green run on main shows the check, or its log shows no pass