Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 Overview  



1.1  Analysis types  







2 Device models  



2.1  Netlists  





2.2  Defining new models  







3 Development  





4 See also  





5 Notes  





6 References  





7 External links  














Ngspice






Català
Deutsch
Русский
Українська
 

Edit links
 









Article
Talk
 

















Read
Edit
View history
 








Tools
   


Actions  



Read
Edit
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Cite this page
Get shortened URL
Download QR code
Wikidata item
 




Print/export  



Download as PDF
Printable version
 
















Appearance
   

 






From Wikipedia, the free encyclopedia
 


Ngspice
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 release1993;
31 years ago
 (1993)
Repositorysourceforge.net/projects/ngspice/files/ng-spice-rework/
Written inC
Operating systemLinux, Windows, macOS, BSD, others
PlatformPPC64, IA-32 (i386), x86-64 [b]
Size7.6 MB (Linux)
Available inEnglish
TypeElectronic circuit simulation
LicenseBSD-3-Clause
Websitengspice.sourceforge.io

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.

Ngspice is based on three open-source free-software packages: Spice3f5, Xspice and Cider1b1:

Overview

[edit]

Analysis types

[edit]

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]

Device models

[edit]

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.

Netlists

[edit]

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.

Defining new models

[edit]

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:

Development

[edit]

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 — proprietaryorfree/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]

See also

[edit]

Notes

[edit]
  1. ^ Over 67 contributors have worked on ngspice over time
  • ^ Compiler dependent. See C language compilers like GCC, clang, or MS Visual C++ for specific ISA and supported platforms.
  • References

    [edit]
    1. ^ "Ngspice circuit simulator - Authors". ngspice.sourceforge.net. Retrieved 2022-05-26.
  • ^ NGSPICE: recent progresses and future plans, P. Nenzi e.a., MOS-AK, Bucharest 2014, http://www.mos-ak.org/bucharest/
  • ^ "The NGSPICE circuit simulator". archive.fosdem.org. Retrieved 2024-02-15.
  • ^ "ngspice, current status and future developments". archive.fosdem.org. Retrieved 2024-02-15.
  • ^ Analysis of Performance and Convergence Issues for Circuit Simulation, T. Quarles, PhD dissertation, Memorandum No. UCB/ERL M89/42, Berkeley 1989, http://www.eecs.berkeley.edu/Pubs/TechRpts/1989/ERL-89-42.pdf
  • ^ Code-level modeling in XSPICE, F. L. Cox e.a., Proceedings IEEE International Symposium on Circuits and Systems, 1992 (ISCAS 92), vol. 2, pp. 871-874, 10–13 May 1992
  • ^ Gates, David A. (June 1993). "Design-Oriented Mixed-Level Circuit and Device Simulation - PhD thesis" (PDF). University of California, Berkeley. Retrieved 2023-08-28.
  • ^ CODECS: A Mixed-Level Circuit and Device Simulator, K. Mayaram, Memorandum No. UCB/ERL M88/71, Berkeley, 1988, http://www.eecs.berkeley.edu/Pubs/TechRpts/1988/ERL-88-71.pdf
  • ^ "ngspice / ngspice / [c4efe2] /ANALYSES". sourceforge.net. Retrieved 2022-05-26.
  • ^ "Tutorial: how to set up ngspice and Eeschema for KiCad". ngspice. Retrieved 2019-07-18.
  • ^ Integrated Spice Simulation with Kicad, T. Wlostowski, FOSDEM, Brussels 2017, https://archive.fosdem.org/2017/schedule/event/spice_kicad/
  • ^ SPICE Simulation Part 1, S. Sattel, Autodesk Support and Learning, 2017, https://www.autodesk.com/products/eagle/blog/spice-simulation-part-1/
  • ^ "ngspice, current status and future developments". Free and Open source Software Developers' European Meeting (FOSDEM). Retrieved 2019-06-25.
  • ^ "ngspice - an open source mixed signal circuit simulator". Free Silicon Foundation (F-Si). Retrieved 2019-06-25.
  • [edit]
    Retrieved from "https://en.wikipedia.org/w/index.php?title=Ngspice&oldid=1230870110"

    Categories: 
    Free simulation software
    Electronic circuit simulators
    Electronic design automation software for Linux
    Free software programmed in C
    Hidden categories: 
    Articles with short description
    Short description is different from Wikidata
    Official website different in Wikidata and Wikipedia
     



    This page was last edited on 25 June 2024, at 04:56 (UTC).

    Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



    Privacy policy

    About Wikipedia

    Disclaimers

    Contact Wikipedia

    Code of Conduct

    Developers

    Statistics

    Cookie statement

    Mobile view



    Wikimedia Foundation
    Powered by MediaWiki