Loading AI tools
Analog circuit simulator software From Wikipedia, the free encyclopedia
Ngspice[2][3][4] is an open-source mixed-level/mixed-signal electronic circuit simulator. It is a successor of the latest stable release of Berkeley SPICE, version 3f.5, which was released in 1993. A small group of maintainers and the user community contribute to the ngspice project by providing new features, enhancements and bug fixes.
Original author(s) | Paolo Nenzi et. al.[1][a] |
---|---|
Developer(s) | Ngspice Contributors Team: Holger Vogt, Giles Atkinson, Brian Taylor, Dietmar Warning e.a. |
Initial release | 1993 |
Stable release | 43
/ 13 July 2024 |
Repository | sourceforge |
Written in | C |
Operating system | Linux, Windows, macOS, BSD, others |
Platform | PPC64, IA-32 (i386), x86-64 [b] |
Size | 7.6 MB (Linux) |
Available in | English |
Type | Electronic circuit simulation |
License | BSD-3-Clause |
Website | ngspice |
Ngspice is based on three open-source free-software packages: Spice3f5, Xspice and Cider1b1:
Ngspice implements three classes of analysis:
Transient analysis includes transient noise simulation. AC analysis includes small-signal noise simulation, pole-zero and transfer function analysis:[9]
Ngspice implements various circuits elements, like resistors, capacitors, inductors (single or mutual), transmission lines and a growing number of semiconductor devices like diodes, bipolar transistors, MOSFETs (both bulk and SOI), MESFETs, JFETs and HFETs.
Ngspice supports parametric netlists (i.e. netlists can contain parameters and expressions). PSPICE compatible parametric macromodels, often released by manufacturers, can be imported as-is into the simulator. Polynomial sources are available. Ngspice provides an internal scripting language to facilitate complex simulation and evaluation control flows.
For mixed signal circuit simulation ngspice allows users to create a user-defined node definition file (UDN) of a new device model interface. The implementation of the node is created and simulated by using C language with macros which is compiled by standard C/C++ compilers.
New models can be added to the simulator using:
Ngspice may be compiled into a shared library (*.dll or *.so) readily to be integrated into a calling program. Its interface provides access to all simulation parameters, input and output data. tclspice, another shared library version, offers an interface to Tcl/Tk (software) for better integration with software like XCircuits.
Ngspice is licensed under the BSD-3-Clause license. This permissive open source license allows its integration as a simulation engine into several — proprietary or free/libre — EDA tools such as KiCad,[10][11] EAGLE (program),[12] CoolSPICE, Altium and others.
Ngspice has a command line input interface and offers plotting capability. An open source GUI with schematic entry, simulation and plotting is provided by Qucs-S.
Ngspice progress was presented at FOSDEM[13] and FSiC conferences in 2019.[14]
Seamless Wikipedia browsing. On steroids.
Every time you click a link to Wikipedia, Wiktionary or Wikiquote in your browser's search results, it will show the modern Wikiwand interface.
Wikiwand extension is a five stars, simple, with minimum permission required to keep your browsing private, safe and transparent.