UNIVERSITY OF CALIFORNIA
College of Engineering
Department of Electrical Engineering
and Computer Sciences

B. E. Boser

Software

EE 40

SPICE

Cellular phones and computers are just two examples of some of today's extremely complex electronic systems. Such devices contain millions of circuit components, and simple trial and error is not an effective way of ensuring that the final product will work properly. As a result, designers rely on circuit simulators to verify the performance of a circuit before fabrication.

The most popular component level circuit simulator available today is called SPICE (Simulation Program with Integrated Circuit Emphasis), which was developed at the University of California, Berkeley, in the 1970s under the guidance of Prof. Pederson. Today vendors offer many different versions of SPICE, many with graphical interfaces and new features added.

Common Problems

Regardless of the version of SPICE that you are using, you may occasionally run into problems. Here are a few common causes and solutions:

LTSpice

LTSpice is based on Berkeley SPICE 3. Unlike most other free versions of SPICE it has no restrictions on circuit size but has a somewhat limited choice of built-in models and favors parts from a particular vendor (Linear Technology). It is possible, however, to add new parts.

PSpice

Very popular version of SPICE. A free demo version with limited circuit size (ok for EE40) is available on the web; an unrestricted version is available on instructional computers.

Multisim

Commercial SPICE designed specifically for learning. No free versions, but the tool is available on our servers.

Matlab

Matlab is a general purpose computation tool with applications in many engineering disciplines. For example, it has very powerful tools for graphing (e.g., Bode plots), designing filters, etc. It is availble on the instructional servers. You can also purchase a student version from the vendor. A free version, Octave, is also available. It works well for many tasks (e.g. frequency response) but lacks many more specialized features.

Tutorials and documentation are available on the web.