Electronic circuit

ngspice – mixed-signal circuit simulator

ngspice is a circuit simulator for analysing the electrical behaviour of analogue, digital and mixed-signal circuits. It accepts circuit descriptions in SPICE netlist format and calculates voltages, currents and other electrical quantities under different operating conditions. The simulator can be used to examine discrete circuits as well as integrated circuits containing large numbers of semiconductor devices.

The software combines technology from Berkeley SPICE, CIDER and XSPICE. Berkeley SPICE supplies the underlying circuit simulation framework, while CIDER adds numerical semiconductor device simulation and XSPICE provides event-driven simulation of digital components. This allows ngspice to analyse circuits containing both continuous analogue signals and discrete digital events. Its device modelling capabilities include support for semiconductor compact models and foundry-supplied model libraries.

ngspice operates interactively or in batch mode. Simulation results can be plotted or saved for further analysis, and its scripting facilities support automated parameter studies and repeated simulations. The simulator can also operate as a shared library controlled by another application, allowing graphical circuit design tools to use its simulation engine without implementing their own numerical solvers.

This is free and open source software.

Key Features

  • Perform DC operating point and transfer characteristic analyses.
  • Simulate time-dependent circuit behaviour using transient analysis.
  • Calculate small-signal AC frequency responses.
  • Perform noise analysis on supported circuit models.
  • Analyse circuits containing resistors, capacitors, inductors and transmission lines.
  • Support diodes, bipolar transistors, JFETs, MOSFETs and other semiconductor devices.
  • Use manufacturer-supplied SPICE device models.
  • Read compatible PSpice and LTspice netlists and model definitions.
  • Support foundry-supplied HSPICE model libraries.
  • Simulate mixed analogue and digital circuits using XSPICE.
  • Provide event-driven simulation of digital circuit components.
  • Support user-defined behavioural and code models.
  • Use Verilog-A compact models through supported model interfaces.
  • Perform numerical semiconductor device simulation using CIDER.
  • Support parameterised components and hierarchical circuit descriptions.
  • Automate simulations through the Nutmeg scripting language.
  • Support parameter sweeps and Monte Carlo analysis.
  • Plot simulation results and export numerical data.
  • Provide interactive and batch processing modes.
  • Operate as a shared library controlled by external applications.
  • Allow external programs to modify parameters and retrieve simulation data.
  • Integrate with graphical frontends such as KiCad, Xschem and Qucs-S.
  • Cross-platform support – runs on Linux, macOS, and Windows.

Website: ngspice.sourceforge.io
Support:
Developer: Ngspice Contributors Team
License: BSD 3-Clause ‘New’ or ‘Revised’ 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 LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.

We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more.

Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion.

Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README.
Subscribe

Please read our Comment Policy before commenting.

Notify of
guest
0 Comments
Oldest
Newest Most Voted