spice_run
Run SPICE netlists in ngspice batch mode to get parsed .meas results and a short log tail for circuit simulation validation.
Instructions
Runs a SPICE netlist in ngspice batch mode (-b) and returns parsed .meas results plus a short log tail. Does not plot. Use spice_toolchain_info to probe the engine.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Optional working directory. | |
| netlist | Yes | Path to the .cir / .sp netlist. | |
| timeout_ms | No | Maximum task time in milliseconds (default: 60000). |