140 likes | 159 Views
Spice Seminar. S imulation P rogram with I ntegrated C ircuit E mphasis. Generating a Netlist. SPICE Netlist Text file used for simulation. Simulate. Generate Netlist (SPICE Netlist Different flavors Quite similar). Schematic Entry (Common Data format: EDIF). Netlist Format.
E N D
Spice Seminar Simulation Program with Integrated Circuit Emphasis
Generating a Netlist SPICE Netlist Text file used for simulation Simulate Generate Netlist (SPICE Netlist Different flavors Quite similar) Schematic Entry (Common Data format: EDIF)
Netlist Format C B E model name Q1 Vo Vin 0 Q2N2222 R1 Vo Vcc 1K V1 Vin 0 V2 Vcc 0
Number format m 10-3 u 10-6 n 10-9 p 10-12 f 10-15 K 103 Meg 106 G 109 Alternative Notation 1e3 Note 10M is the same as 10m!
Examples of Types of Spice Simulations • Bias Point • DC Sweep • Transient Analysis • AC sweep/Noise • Secondary (nested) sweeps • Parametric • Temperature • Monte Carlo
DC sweep Result Output as a function of Vin Vo V1
Characterizing a MOSFET - specifying a Model file Primary Sweep and secondary sweep Vd secondary Vg primary D G S B M1 Vd Vg 0 0 MbreakN V1 Vg 0 V2 Vd 0 .model MBreakN NMOS Vto = 1V Kp = 2m
Transient and AC Sweep Transient Results Time varying inputs (ex. Sinusoidal, digital clock) Output as a function of time t t AC Sweep Results Vo Multiple sinusoidal inputs each with a different frequency Output as a function of freq. freq
Transient Sweep Vsin
Examples of Types of Spice Simulations • Bias Point • DC Sweep • Transient Analysis • AC sweep/Noise • Secondary (nested) sweeps • Parametric • Temperature • Monte Carlo