SPICE simulation
Transient, AC, DC sweep and operating point, with a waveform viewer and checks that run after every simulation.
Who does what
The top lane is you; the bottom lane is WireFrame.
Copy a block
Simulate a Block of This Sheet: its parts and wires open as a simulation file of their own.
Add a source & a test
A copied block has no supply of its own. Add one, the loads, and what the circuit must do.
Read & measure
Pick the nets, measure with A/B cursors; the testbench says Pass, Fail or Not measured.
Preflight
Every part's SPICE model, the ground reference, the values: anything that would block the run is named first.
Run
Transient, AC, DC sweep or operating point, with ngspice inside the app — nothing to install.
A simulation is a file of its own (.simxml): copy a block of a sheet into one, or draw a circuit from the parts that have a SPICE model. ngspice is built in, with Xyce and LTspice as alternative engines; results open in a waveform viewer with A/B cursors, and a testbench checks them after every run.
What it does
Four analyses
Transient (.TRAN), AC sweep for Bode plots (.AC), DC sweep (.DC) and operating point (.OP).
A block, copied once
Simulation › Simulate a Block of This Sheet copies a block's parts, the wires between them and their labels into a new simulation. Sources, probes and test loads live there; the sheets, the PCB and the BOM never see them.
Waveform viewer
Pick the signals to plot, read time, voltage and frequency with A/B cursors, and get minimum, maximum and peak-to-peak between them.
Testbench checks
Write down what the circuit must do — a frequency, a ripple, a rail's minimum — and every run reports Pass, Fail or Not measured.
Your models
Add your own SPICE model libraries next to the built-in ones.
A simulation is its own file
The sheets of your design are not simulated. A simulation is a .simxml with one circuit in it, listed in the project under its own name, and nothing you add there — supplies, probes, test loads — ever reaches the sheets, the PCB, the BOM or the ERC. That separation is what lets you put a 300 mA load on a regulator to see what it does without a stray resistor turning up on the board.
A block of the sheet, copied once
Simulation ▸ Simulate a Block of This Sheet lists the sheet's blocks, each Ready or Needs input with the reason. Copy one and its parts, wires and labels open in a new simulation; parts with no SPICE model, such as connectors, are named rather than copied. A copied block usually has no supply of its own — its rail came from elsewhere on the sheet — so you add one under Setup: DC, AC, sine, pulse or piecewise-linear.
Preflight before the run
Preflight lists every part with its mapped SPICE model and whether it is ready, and names the blocking items: no ground reference, a component with no value, a part with no model, an engine that is not there. When a simulation holds several independent circuits, Blocks lets you tick the ones to run and builds the netlist from those parts alone. If a run fails, the AI tab can explain why from the engine log — to be checked against the log and the circuit.
The details
| Analyses | Transient · AC sweep · DC operating point · DC sweep |
|---|---|
| Engines | ngspice built in; Xyce, LTspice or a separately installed ngspice optional |
| Sources | DC · AC · sine · pulse · PWL |
| Workbench tabs | Setup · Blocks · Testbench · Signals · Models · AI |
| Exports | Waveform CSV · simulation log |
| Shortcut | F5 opens the workbench, and runs it with a simulation in front |
How to start
- On a sheet, choose Simulation › Simulate a Block of This Sheet and Copy to New Simulation.
- Add a supply under Setup › Sources and choose an analysis and its values (for example a 3 s transient).
- Click Run, then measure with the cursors or let a testbench assertion check the result.
Questions
Do I need to install a simulator?
No. ngspice ships with WireFrame and runs inside the application; other engines are optional and set in Preferences ▸ Simulation.
If I change the sheet, does the simulation update?
No — the copy is made once, and after that the sheet and the simulation do not know each other. Copy the block again when you want to simulate the new version.
Why is my output flat?
Usually the copied block has no supply yet. Add a source on its rail under Setup, then run Preflight again.