Professional Documents
Culture Documents
Spice Level Simulation PDF
Spice Level Simulation PDF
Neuromorphic Engineering II
Institute of Neuroinformatics
University | ETH Zurich
What is SPICE?
S-Edit
SPICE Origins
Letter Element
R Resistor
C Capacitor
L Inductor
V Independent Voltage Source
I Independent Current Source
M MOSFET
D Diode
Q Bipolar transistor
X Subcircuitr
E Voltage controlled Voltage Source
G Voltage controlled Current Source
H Current controlled Voltage Source
F Current controlled Current Source
Active components: the MOSFET device models
Vdd options
.options scale=0.8u deftables=0
.options maxmsg=1 modelmode=direct
.options abstol=1e-17 reltol=1e-7 chargetol=1e-19
Vin Vout .options absdv=0.01 accurate=1
.options js=1e-5
.include "inverter.sp" circuit
elements
vdd Vdd gnd 5
vin in gnd pwl( 0 0 5u 5 10u 0)
.tran/powerup 1u 10u commands
.print tran in out
How does (T)SPICE work?