1 / 11

SPICE

SPICE. S imulation P rogram with I ntegrated C ircuit E mphasis Developed in 1970’s at Berkeley Many commercial versions are available. The Basic Idea. SPICE Deck Text file used for simulation. Simulate. Generate Spice Deck. Schematic Entry. Examples of Types of Spice Simulations.

jin
Télécharger la présentation

SPICE

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

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

More Related