Skip to main content

Module decode

Module decode 

Source
Expand description

Reading protocols off the channels a run already recorded.

A decoder is not a part and does not listen to the circuit: it takes the digital series of named probes — exactly what the scope draws — and turns level changes back into bytes. That keeps decoding zero-load and lets a host decode the same record differently (one UART at 9600, another at 115200) without running the simulation again.

A [[decode]] entry names probe channels, not points. The probe block says where to watch; the decode block says what to read there.

Functions§

check
Every channel a decoder names must be a probe, so a typo is a configuration error at boot rather than a decoder that silently reads nothing.
frames
Run one decoder over a finished scope record.
report
One report line per decoded frame, ready for the litz: prefix.