[ComponentName] [Node1] [Node2] [Value]
Seeing startup, switching, or pulse responses. 4. Complete SPICE Example (LTspice Syntax) Circuit: Simple RC low-pass filter with a 10 kHz square wave input.
.OPTIONS plotwinsize=0 ; prevents waveform compression spice circuit
.TRAN 1u 1m .AC dec 100 10 100k
LTspice (free, best for beginners), ngspice (open-source), PSpice (commercial), HSPICE (high-precision). 2. The Core Components of a SPICE Netlist A netlist is the text description of your circuit. Every line follows this pattern: Every line follows this pattern:
.PROBE .END
.OP Sweeps frequency, plots gain/phase (Bode plot). Syntax: .AC oct 100 1 1Meg → 100 points/octave from 1 Hz to 1 MHz. best for beginners)
1. What is SPICE? SPICE is the industry standard for analog circuit simulation. It solves Kirchhoff’s laws numerically to predict DC, AC, and transient behavior before you build a physical prototype.