fv_run_sby
Runs SymbiYosys (SBY) formal verification jobs in an isolated workspace with process-tree timeouts, from an .sby file or declarative RTL inputs, locally or over SSH, with background polling.
Instructions
Run a SymbiYosys (SBY) job in an isolated workspace with reliable process-tree timeout. Supports either an existing .sby file OR declarative files+top+aux_files+probes+cutpoints. aux_files (.mem/.hex/.dat ROM tables) are staged into [files] without being passed to read_slang. target='local' runs with the local OSS CAD Suite; target='testhost' offloads over SSH and cleans remote temp dirs.
Long runs: MCP clients abort a call that stays silent for about 30 minutes. For anything that
may exceed ~20 minutes pass background=True: the call returns a job_id immediately; poll it
with fv_job_status (which reports the BMC step reached so far) and stop it with fv_job_cancel.
The server executes simultaneous calls in parallel, but a client may send the calls of one
message one at a time; background jobs (up to max_local_workers) overlap regardless.
Cancelling a blocking call from the client kills its solver processes.
Reading the result: status is what the engines found. A task declared with expect fail
(a reachability check) ends with status="FAIL" when it SUCCEEDS; expectation_met and
status_note say whether the outcome is the one the task asked for. TIMEOUT / UNKNOWN /
CANCELLED are not passes.
skip=N (bmc/cover) skips assertion checks for the first N steps; extra_options adds raw lines
to the generated [options] section. keep_traces=False also disables VCD writing (vcd off).
log_tail is condensed to log_lines lines; non-PASS runs save the full log to log_file.
Probe wires named in probes/post_mem_probes are kept automatically (no (* keep *) needed);
undriven wires that are NOT bound are reported in warnings.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "fv_run_sby"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | ||
| mode | No | bmc | |
| skip | No | ||
| task | No | ||
| depth | No | ||
| files | No | ||
| engine | No | smtbmc bitwuzla | |
| expect | No | ||
| params | No | ||
| probes | No | ||
| target | No | local | |
| defines | No | ||
| frontend | No | auto | |
| sby_file | No | ||
| ssh_host | No | ||
| aux_files | No | ||
| cutpoints | No | ||
| log_lines | No | ||
| async2sync | No | ||
| background | No | ||
| multiclock | No | ||
| keep_traces | No | ||
| timeout_sec | No | ||
| include_dirs | No | ||
| extra_options | No | ||
| post_mem_probes | No | ||
| required_min_depth | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||