Electronic circuit

ngspice – spice simulator for electric and electronic circuits

ngspice is the open source spice simulator for electric and electronic circuits.

Such a circuit may comprise of JFETs, bipolar and MOS transistors, passive elements like R, L, or C, diodes, transmission lines and other devices, all interconnected in a netlist. Digital circuits are simulated as well, event driven and fast, from single gates to complex circuits. And you may enter the combination of both analog and digital as a mixed-signal circuit.

ngspice offers a wealth of device models for active, passive, analog, and digital elements. Model parameters are provided by our collections, by the semiconductor device manufacturers, or from semiconductor foundries. The user adds her circuits as a netlist, and the output is one or more graphs of currents, voltages and other electrical quantities or is saved in a data file.

ngspice does not provide schematic entry. Its input is command line or file based.

It is based on three open source software packages: Spice3f5, Cider1b1 and Xspice:

  • Spice3 is the most famous and used circuit simulator. It was developed University of California at Berkeley (UCB), by “a cast of thousand” (as they say).
  • Cider is a mixed-level simulator that already includes Spice3f5 and adds a device simulator to it: DSIM. Cider couples the circuit level simulator to the device simulator to provide greater simulation accuracy (at the expense of greater simulation time). Critical devices can be described with technology parameters (numerical models) and non critical ones with the original spice’s compact models.
  • Xspice is an extension to Spice3 that provides code modeling support and simulation of digital components through an embedded event driven algorithm.

Website: ngspice.sourceforge.io
Support: FAQ
Developer: Ngspice Contributors Team
License: BSD-3-Clause License

ngspice is written in C. Learn C with our recommended free books and free tutorials.


Related Software

Backend Electronic Circuit Simulators
ngspiceSPICE simulator for electric and electronic circuits
XyceSPICE-compatible analog circuit simulator
SPICE OPUSGeneral purpose circuit simulator specially suited for optimization loops
SPICE General-purpose circuit simulation program
CIDERMixed-level circuit and device simulator
XicToolsElectronic design suite with IC layout editing and circuit simulation
GnucapGeneral purpose circuit simulator
QucsatorRFSpecialist circuit simulator for RF and microwave design

Read our verdict in the software roundup.


Best Free and Open Source Software Explore our carefully curated directory of recommended free and open source software, covering every major software category.

The directory forms part of our extensive collection of articles for Linux enthusiasts. It includes hundreds of detailed reviews, together with free and open source alternatives to proprietary software from companies such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk.

LinuxLinks also covers interesting projects worth exploring, Linux-compatible hardware, free programming books and tutorials, and much more.

Know a useful free and open source Linux application that we haven’t covered? Tell us about it using our submission form.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted