logisim_verify
Verify a circuit's behavior against expected outputs using expressions, truth tables, input rows, or clocked sequences.
Instructions
Check that a circuit behaves as expected. Give exactly one of: expressions {output: formula} (checked on every input combination), truth_table (text 'A B | F' with rows '0 1 | 1', x = don't care), rows [{"A": 1, "B": 0, "F": 1}, ...], or sequence [{"set": {...}, "clock": 1, "expect": {...}}, ...] for clocked circuits (state carries over between steps). Names are pin/LED/probe labels.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to the .circ file (absolute, or relative to the working folder) | |
| rows | No | ||
| circuit | No | Circuit inside the file (default: the main circuit) | |
| sequence | No | ||
| expressions | No | ||
| truth_table | No |