Spice Seminar Simulation Program with Integrated Circuit Emphasis

  • Slides: 14
Download presentation
Spice Seminar Simulation Program with Integrated Circuit Emphasis

Spice Seminar Simulation Program with Integrated Circuit Emphasis

Generating a Netlist SPICE Netlist Text file used for simulation Schematic Entry (Common Data

Generating a Netlist SPICE Netlist Text file used for simulation Schematic Entry (Common Data format: EDIF) Generate Netlist (SPICE Netlist Different flavors Quite similar) Simulate

Netlist Format C B E model name Q 1 Vo Vin 0 Q 2

Netlist Format C B E model name Q 1 Vo Vin 0 Q 2 N 2222 R 1 Vo Vcc 1 K V 1 Vin 0 V 2 Vcc 0

Number format m u n p f 10 -3 10 -6 10 -9 10

Number format m u n p f 10 -3 10 -6 10 -9 10 -12 10 -15 K Meg G Alternative Notation 1 e 3 Note 10 M is the same as 10 m! 103 106 109

Which is more readable/maintanable?

Which is more readable/maintanable?

Examples of Types of Spice Simulations • Bias Point • DC Sweep • Transient

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 Vo Output as a function of Vin V 1

DC sweep Result Vo Output as a function of Vin V 1

Parametric Sweep – creating a variable

Parametric Sweep – creating a variable

Nested Sweep

Nested Sweep

Characterizing a MOSFET - specifying a Model file Primary Sweep and secondary sweep Vd

Characterizing a MOSFET - specifying a Model file Primary Sweep and secondary sweep Vd secondary Vg D GSB M 1 Vd Vg 0 0 Mbreak. N V 1 Vg 0 V 2 Vd 0. model MBreak. N NMOS Vto = 1 V Kp = 2 m primary

Bias Point Simulation

Bias Point Simulation

Transient and AC Sweep Transient Results Time varying inputs (ex. Sinusoidal, digital clock) Output

Transient and AC Sweep Transient Results Time varying inputs (ex. Sinusoidal, digital clock) Output as a function of time t t AC Sweep Multiple sinusoidal inputs each with a different frequency Results Vo Output as a function of freq

Transient Sweep Vsin

Transient Sweep Vsin

Examples of Types of Spice Simulations • Bias Point • DC Sweep • Transient

Examples of Types of Spice Simulations • Bias Point • DC Sweep • Transient Analysis • AC sweep/Noise • Secondary (nested) sweeps • Parametric • Temperature • Monte Carlo