What is SPICE?

A circuit simulator that calculates voltages and currents in transistor-level circuits in detail using device models. It is used for analog design and cell characterization.

Field: IC design flow and EDA

Japanese name: SPICE

What SPICE actually solves

SPICE (Simulation Program with Integrated Circuit Emphasis), developed at UC Berkeley, reads a netlist and builds circuit equations using modified nodal analysis, which applies Kirchhoff's current law at every node together with each element's current-voltage relation. Nonlinear devices are linearized and solved iteratively with the Newton-Raphson method using sparse matrix techniques. The main analyses are the DC operating point and DC sweeps, small-signal AC analysis linearized around that operating point, transient analysis by numerical integration with adaptive time steps, and noise analysis.

Device models are the heart

Results are only as good as the compact models describing each device. MOSFETs use physics-based models with hundreds of parameters, such as the BSIM family, including variants for FinFETs. Bipolar transistors use the Gummel-Poon model, which extends the Ebers-Moll model with the Early effect, high injection and charge storage. Foundries extract parameters from measured silicon and deliver them in the process design kit (PDK), along with process corners such as typical, fast and slow, and statistical models for Monte Carlo simulation of mismatch.

Where SPICE is used

Analog, RF and mixed-signal blocks such as amplifiers, PLLs, data converters and regulators are designed and verified in SPICE. Standard cells are characterized with it across process, voltage and temperature to build the timing and power tables that static timing analysis and logic synthesis use. Memory bit cells, sense amplifiers and I/O circuits rely on it too, and post-layout simulation adds extracted parasitic resistance and capacitance. Because accuracy costs time, whole digital chips are verified with logic simulation and timing analysis, while faster SPICE variants trade accuracy for capacity on large circuits.

Common pitfalls

Many simulation failures come from the circuit description rather than the simulator. A node with no DC path to ground, such as one connected only through capacitors, makes the matrix singular. A loop made only of ideal voltage sources makes the matrix singular in the same way. Switches with extreme resistance ratios can prevent Newton-Raphson iteration from converging. Checking the DC operating point before transient runs, tightening time steps around fast edges and using realistic source rise times avoid most problems. A SPICE netlist describes devices and connections; it is different from a Verilog description of logic or a GDSII layout.

Try it: questions about SPICE

Which model represents the large-signal behavior of a bipolar transistor with two diodes and current sources?

  1. AShockley's depletion approximation
  2. BThe Poisson model
  3. CThe Ebers-Moll model
Show answer and explanation

Answer: C. The Ebers-Moll model

The Ebers-Moll model represents the base-emitter and base-collector junctions as diodes, each paired with a dependent current source proportional to the other junction's current. One set of equations covers the active, saturation, cutoff and reverse-active regions. Adding the Early effect, high injection and charge storage gives the Gummel-Poon model, the basis of SPICE bipolar models.

Which correctly states Kirchhoff's current law (first law)?

  1. AThe sum of currents flowing into a node equals the sum of currents flowing out
  2. BThe sum of voltages around a closed loop is zero
  3. CThe current through a resistor is proportional to the voltage
Show answer and explanation

Answer: A. The sum of currents flowing into a node equals the sum of currents flowing out

Kirchhoff's current law states that the currents flowing into a node equal those flowing out, expressing conservation of charge. Combined with the voltage law (voltages around any closed loop sum to zero), it lets you solve for every current and voltage in a complex circuit with simultaneous equations. Circuit simulators such as SPICE apply this law at every node in nodal analysis.

FAQ

What is SPICE used for in chip design?

It simulates transistor-level circuits in detail to predict voltages, currents, timing, gain, noise and power. It is the standard tool for analog design and for characterizing standard cells.

What is a SPICE model?

It is a set of equations and parameters describing a device's electrical behavior, such as a BSIM model for a MOSFET. Foundries supply these models in their process design kits, often with corner and statistical variants.

Why does my SPICE simulation fail to converge?

Common causes are floating nodes without a DC path to ground, loops of ideal voltage sources, unrealistically sharp edges or extreme component values. Fixing the circuit description usually works better than loosening simulator tolerances.

Questions that mention SPICE (3)

SPICE appears in 5 practice questions across 3 topics, including IC design flow and EDA, Bipolar transistors, Analog and electronic circuits.

  1. What is the set of design data, including design rules, device models and verification rule decks, that a foundry provides to designers called?
  2. Which is the representative circuit simulator that calculates voltages and currents of transistor-level circuits in detail using device models?
  3. Which are the typical formats of layout data handed to manufacturing for mask making?

Books on IC design flow and EDA Ad

As an Amazon Associate I earn from qualifying purchases.

This page was drafted with AI and fact-checked by a separate AI review before publication. Our Editorial policy explains how we write and check content. If you spot an error, please tell us on our Contact page.

Back to the glossary