NGSPICE Mixed mode - mixed level circuit simulator - based on Berkeley's Spice3f5 Developer Pages
  • Home
  • News
  • Screenshots
  • Download
  • Documentation
  • Tutorials
  • Extras/Options
  • Applications
  • Development
  • Simulation Environments
  • Quality

Ngspice Home

  • Home
  • What is ngspice ?
  • Features, Extras & Options
  • F.A.Q.
  • Tutorials
  • Introductory and update videos

  • Sourceforge Developer Pages

ngspice - open source spice simulator

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. There are however third party interfaces available.

ngspice input and output

ngspice is SPICE compatible. You may apply PSPICE or LTSPICE device model parameters and netlists for simulating discrete circuits. ngspice will also read HSPICE device libraries from semiconductor foundry PDKs for simulating integrated circuits.

ngspice builds on many operating systems. The source code and binaries for MS Windows are available for download on our sourceforge download page. All popular Linux distributions, Cygwin or FreeBSD offer ngspice as well, as does Homebrew for macOS. The F.A.Q. and documentation pages provide a lot of information, a detailed manual is available. Mailing lists, discussion forums and a bug tracker are offered.

Introductory videos on the ngspice status and updates have been held at several FOSDEM conferences and are found here: FOSDEM'20, FOSDEM'21, FOSDEM'22, and FOSDEM'24.

If you are new to Spice and ngspice, don't hesitate to give it a try, if you are a professional user, you will benefit from its robustness and flexibility.

SourceForge.net Logo All text is available under the terms of the GNU Free Documentation License