Tags: commands, SPICE

————————

SPICE = Simulation Program with Integrated Circuits Emphasis

*comment

.

.

.ac – ac simulation

—–> usage: .ac lin/oct/dec number_of_points freq_start freq_stop

.

.

.dc – dc simulation

—–> example: .DC VDS 0V 10V 100mV sweep VGS 2 5 0.25

—–> —–> IDS(VDS) characteristics of MOS transistors for different VGS values

.

.

.options

—–> example: .options temp 20 – set temperature to 20o C

.

.

.step

—–> example: .step param cvalue list 1e-18 1p

.

.

.tran – tran simulation

—–> usage: .tran tstep tstop <tstart <tmax>> <UIC>

.

.

sin – sinusoidal source

—–> Vname N1 N2 SIN(VO VA FREQ TD THETA PHASE)

—–> —–> VO – offset voltage in volt.

—–> —–> VA – amplitude in volt.

—–> —–> f = FREQ – the frequency in herz.

—–> —–> TD – delay in seconds

—–> —–> THETAdamping factor per second

—–> —–> Phase – phase in degrees

.

.

sweep

—–> example 1: .tran 100u 10m 0 100u sweep temp -40 125 1

—–> example 2: .tran 100u 10m 0 100u sweep temp list 3 -40 27 125