Skip to main content

Crate litz_engine

Crate litz_engine 

Source
Expand description

Loading a Litz project, booting it and deciding pass or fail.

This crate is the part a host embeds. A command-line runner is one host: it parses flags into runner::Options, calls runner::execute_with and prints the transcript. A browser session is another: it hands machine::boot_c3 the diagram and images it already holds in memory. The library owns project loading, boot, the run loop, the assertions and the probe records; the host owns arguments, files and presentation.

Modulesยง

board
Checking a board bundle before a project depends on it.
config
litz.toml: which firmware to run and what to assert.
decode
Reading protocols off the channels a run already recorded.
image
How a firmware file is laid out in flash.
lock
litz.lock: which catalog entries and firmware bytes produced a result.
machine
Booting a diagram and a set of flash images, with no project directory.
probe
Probes, their records and the measurements over them, re-exported so a host that decodes or draws a scope needs one dependency, not two. Named points in the circuit and the measurements taken from them.
python
The Python runtimes a firmware can speak, and the staging text pasted into their REPLs.
runner
Loading a project, booting it and deciding pass or fail.
scenario
Automation scenarios (scenario.yaml), as run by litz-cli --scenario.