Download
spice n.
Skip this Video
Loading SlideShow in 5 Seconds..
SPICE PowerPoint Presentation

SPICE

254 Vues Download Presentation
Télécharger la présentation

SPICE

- - - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript

  1. SPICE • Simulation Program with Integrated Circuit Emphasis • Developed in 1970’s at Berkeley • Many commercial versions are available

  2. The Basic Idea SPICE Deck Text file used for simulation Simulate Generate Spice Deck Schematic Entry

  3. Examples of Types of Spice Simulations • Bias Point • DC Sweep • Parametric Sweep • Transient Analysis • AC sweep/Noise • Temperature • Monte Carlo

  4. 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)

  5. Bias Point and DC sweep Bias Point Results • Single Operating point Example Vin = 3V DC Sweep Results • Output as a function of Vin Vo Example Vin = 0 to 3V Vin 3V

  6. Transient Analysis t t t t Input: Time varying input (ex. Sinusoidal, digital clock) Output: a function of time

  7. What is a SPICE Deck? * mosiv.sp *------------------------------------------------ * Parameters and models *------------------------------------------------ .include '../models/tsmc180/models.sp' .temp 70 .option post *------------------------------------------------ * Simulation netlist *------------------------------------------------ * R_R1 VIN VOUT 2K R_R2 0 VOUT 1k R_R3 0 VOUT 3K V_V2 VIN 0 3Vdc *------------------------------------------------ * Stimulus *------------------------------------------------ .dc V2 0 3.0 0.05 .end Comments Netlist: Describes the connectivity of a circuit Stimulus: Input signal

  8. Netlist R_R1 VIN VOUT 2K R_R2 0 VOUT 1k R_R3 N00218 VOUT 3K R_R4 0 N00218 3K V_V2 VIN 0 3Vdc

  9. Letter Element R Resistor C Capacitor L Inductor K Mutual Inductor V Independent voltage source I Independent current source M MOSFET D Diode Q Bipolar transistor W Lossy transmission line X Subcircuit E Voltage-controlled voltage source G Voltage-controlled current source H Current-controlled voltage source F Current-controlled current source SPICE Elements

  10. Units Ex: 3K ohm resistor 3K, 3k, 3e+3 Not case sensitive

  11. Netlist R_R1 VIN VOUT 2K R_R2 0 VOUT 1k R_R3 N00218 VOUT 3K R_R4 0 N00218 3K V_V2 VIN 0 3Vdc