The assembler, the timing analyser and the kernel, compiled to JavaScript with js_of_ocaml. The kernel checks the analyser's rows one instruction at a time; the proofs that its check is sound run in CI, not here. What the kernel accepts then goes through a model of the chip's own load check, which can refuse it.
Model run in your browser: the OCaml cycle model of the core, compiled with js_of_ocaml. Not the chip.
Green or red band: where the analyser says the edge may land. Triangle: a deadline wait releasing. Click a wait to see its edge.
Each button edits the firmware above, then runs the real assembler, analyser and kernel, and the model in your browser.
| Edit | Verdict | Kernel message | Model |
|---|
pio_check, compiled to JavaScript: static timing of an RP2040 PIO program over every path, at the pin driver, against the rules in the spec. The kernel does not check this tab.
Spec: one pio_check flag a line, without its dash.
A WaveDrom diagram compiled to a table for the table interpreter, which the kernel certified once with the data memory left free, so a table it takes needs no new certificate. The model of the core then runs the table on the frames below.
Frames: a line of bits each, first sent first: host bits, or for a receiver the bits its peer sends.
A timing table in, firmware out, without a server. The generator behind generate learn writes firmware for the table's shape, the analyser and the kernel check it, and the chip's load check walks its certificate. Shapes: pulse codes, UART, Manchester and clocked serial, one frame shape, out on OUT0 (a clock on OUT0 and data on OUT1). Every run is a whole number of units, each limit cleared by a cycle as the library's are. A refusal names the row.
A row: NAME MIN MAX UNIT, with - for a blank. A rate's least is the longest period.
Units: s ms us ns, Hz kHz MHz, baud kbaud, bit/s kbit/s Mbit/s.
shape pulse, uart, manchester or clocked
idle high or low, the data line between frames
gap ROW, the least idle between frames
pulse bits N, zero MARK SPACE, one MARK SPACE, leader ROW..., trailer ROW...
uart bit ROW, data N, parity none|even|odd, stop N, chars N
manchester bits N, half ROW or bit ROW, one-starts high|low
clocked bits N, high ROW, low ROW, clock ROW, sample rising|falling, clock-idle high|low
A row no line names is listed as not checked. # starts a comment.
The 16-bit instruction word, decoded by the same Isa module the assembler and the hardware decoder use. The fields and their values come from it, not from this page.
| Field | Bits | Value | Name |
|---|