SPICE Program for Electronic Circuits

SPICE (Simulation Program with Integrated Circuit Emphasis) is a general-purpose program for representing analog electronic circuits. Schematic diagrams representing active RC networks and passive network topologies are drawn using a combination of SPICE data statements and graphical drawing elements. The Rausch filter circuit schematic is used as the illustration.
The reader should be aware that this Demonstration will require a commitment of significant time and effort to produce useful results.


  • [Snapshot]
  • [Snapshot]
  • [Snapshot]


The SPICE data statement is used to describe the electronic component and the nodal connections. A data statement is entered as a single line by using the Demonstration keypad, followed by a mouse click on the work surface to identify the location assigned to the data statement.
Integer numbers are used for the following fields: "name", N+, N-, N1, N2, and N3.
Either integer or floating-point numbers are used for Value, DCValue, and ACValue.
Each field is separated by a "space."
A mouse click on the working surface determines the location of either the SPICE component or the graphical element.
Components and drawing elements have designated hot spots on the drawing surface, which allow the targeted item to be selected or deselected by alternating mouse clicks. A selected component appears as a SPICE data statement in the statement field, whereas a selected node, track, or ground is indicated in red.
Popup menu: Used to select SPICE entry mode, or graphical elements.
"Clear" button: Clears work surface.
"Delete" button: Deletes SPICE component currently displayed in the statement field or deletes graphical element currently displayed in red.
"Flip X" button: Flips a selected SPICE component on the horizontal axis.
"Flip Y" button: Flips a selected SPICE component on the vertical axis.
"Rotate" button: Rotates either a selected SPICE component or a selected ground graphic by 90 degrees.
Keypad: Provides for entry and editing of a SPICE data statement. A complete data statement is entered prior to setting the location with a mouse click.
Current reference arrows follow the passive sign convention (PSC).
Snapshot 1: second-order passive bandpass filter
Snapshot 2: second-order active bandpass filter
Snapshot 3: passive resistor network with multiple DC voltage supplies
The node drawing element marked with a cross is used to designate a node connected to either a dependent or independent voltage source. The remaining nodes not designated as cross nodes are functionally described by Kirchhoff's current law.
Reference (for cross node)
[1] J. Vlach and K. Singhal, Computer Methods for Circuit Analysis and Design, 2nd ed., Norwell, MA: Kluwer Academic Publishers, 2003 pp. 144–155.
    • Share:

Embed Interactive Demonstration New!

Just copy and paste this snippet of JavaScript code into your website or blog to put the live Demonstration on your site. More details »

Files require Wolfram CDF Player or Mathematica.

Mathematica »
The #1 tool for creating Demonstrations
and anything technical.
Wolfram|Alpha »
Explore anything with the first
computational knowledge engine.
MathWorld »
The web's most extensive
mathematics resource.
Course Assistant Apps »
An app for every course—
right in the palm of your hand.
Wolfram Blog »
Read our views on math,
science, and technology.
Computable Document Format »
The format that makes Demonstrations
(and any information) easy to share and
interact with.
STEM Initiative »
Programs & resources for
educators, schools & students.
Computerbasedmath.org »
Join the initiative for modernizing
math education.
Step-by-Step Solutions »
Walk through homework problems one step at a time, with hints to help along the way.
Wolfram Problem Generator »
Unlimited random practice problems and answers with built-in step-by-step solutions. Practice online or make a printable study sheet.
Wolfram Language »
Knowledge-based programming for everyone.
Powered by Wolfram Mathematica © 2018 Wolfram Demonstrations Project & Contributors  |  Terms of Use  |  Privacy Policy  |  RSS Give us your feedback
Note: To run this Demonstration you need Mathematica 7+ or the free Mathematica Player 7EX
Download or upgrade to Mathematica Player 7EX
I already have Mathematica Player or Mathematica 7+