spice-sim
Installation
SKILL.md
Spice Simulation
Use a focused testbench such as <package>/testbench/test_<scenario>.zen for
one behavior: startup, enable, a protection threshold, or current limit. Reuse
an existing bench when it covers the request. Run it with pcb sim <file>.zen;
a separate dummy simulation is only useful when diagnosing setup problems.
Model and testbench
The leaf component needs spice_model=SpiceModel(...). Obtain a vendor model
or, when appropriate, use a behavioral model with explicit limitations. Match
nets to the subcircuit's declared terminal order: