Simulation

About SPICE

2018.09.20

Points of this article

・Know typical SPICE-based simulation software.

・To understand the basic explanations that follow, first get an overview of how simulators work.

What is SPICE?

SPICE is one such electronic/electric circuit simulator, initially developed at the University of California at Berkeley in 1973. SPICE is an acronym for Simulation Program with Integrated Circuit Emphasis. At the time, its major objective was simulation of the operation of analog circuits that used ICs such as op-amps as well as discrete components such as transistors, diodes, resistors, and capacitors.

SPICE was developed up through SPICE3 (1985), and thereafter improvements and functions were added to the SPICE foundation for commercial use. PSPICE, which is well known even today, was the first version of SPICE for commercial use, solid by MicroSim.* It enabled SPICE, which had previously run on mainframes, to be used on personal computers.
*MicroSim merged with OrCAD, and subsequently OrCAD was purchased by Cadence. PSPICE is a part of Cadence’s design support tool OrCAD.

Major Simulation Software Packages

The following are the major commercial simulation software packages. In essence, they are all similar in having simulation of circuit operation as their objective, but the GUIs (graphical user interfaces) differ somewhat. Where performance and specifications are concerned, there are further differences in the convergence algorithms, models available for use, upper limits to the number of elements used, and the like, and a given software package may also be available as a free version with some limits imposed.

Name Vendor Summary
OrCAD Cadence Design Systems Direct descendant of PSpice. Free version available
LTSpice Analog Devices (former LTC) Completely free; model-compatible with PSpice
SIMetrix SIMetrix Technologies Free version available; model-compatible with PSpice
Hspice Synopsys Widely used in IC development
Spectre Cadence Design Systems Widely used in IC development
ADS Keysight Technologies Capable of board-level noise simulation
Eido Mentor Graphics IC design

The above company and product names and the like are generally trademarks or registered trademarks of their respective companies.  

Operation Framework

The framework of operation of such simulators is briefly explained.

In general, the diagram of a circuit to be simulated is first input. Such components (models) as transistors, ICs, capacitors, diodes, resistors, and inductors are provided; the components are selected and connected. This can be performed in the same manner as when drawing an ordinary circuit diagram.

When the circuit is completed, simply by clicking on a simulation execution button, the corresponding simulation is performed. In the example of the figure, a circuit diagram is created to “ground the gate of a P-channel MOSFET, apply a voltage of 0 to 10 V in 0.1 V steps to the drain, and monitor the current flowing in the MOSFET at that time”; as a result of the simulation execution, a graph of current values is obtained (the action of the blue arrow on the left).

This is the apparent procedure, but in actuality, the circuit diagram that has been created is converted into a kind of source code, called a netlist, that describes all the information–the components, circuits, simulation conditions, and so on. The simulator uses the netlist to perform circuit calculations, that is, to run the simulation, and outputs data. In this case, current values are stored as numerical values for each 0.1 V increment. Based on this data, a graphing function is used to output a graph (flow of the yellow arrows).

The following is an example of a netlist for a simulator different from the one of the example above, but describing the same circuit information. A detailed explanation will be presented later, but for now, the reader can look at the netlist to get an idea of what it describes.

In the next article, we explain downloading of simulation software in order to try running it.

Download Technical Documents

Downloadable materials, including lecture materials from ROHM-sponsored seminars and a selection guide for DC-DC converters, are now available.

Simulation