Ngspice Documentation
A ngspice manual is available as a pdf file. Here you may download the release version of the
The manual is under continuous development and maintained at Ngspice user's manual web site. Here you may download the actual version as a pdf file, including all modifications made available in the git sources since the latest ngspice release, as the
Please remember that this manual is a "work in progress": New ngspice features will be added as they become available in git, there are still some minor bugs, and thus the manual may be updated from time to time without notice. You are welcome to contribute to this documentation!
A xhtml version of this most recent manual is available here:
You also may use information on spice3f and similar simulators available on the Internet. One of the best online manuals for spice3f4 is maintained by Charles Williams (including MacSpice enhancements):
Manuals for previous ngspice releases are still available:
- Ngspice user's manual (version 39).
- Ngspice user's manual (version 40).
- Ngspice user's manual (version 41).
- Ngspice user's manual (version 42).
Ngspice incorporates many models or options provided by external partners. They have often provided detailed information or manuals, which you may find here.
Please send your comments, suggestions, and corrections on the ngspice manual to the ngspice developers' list.
Ngspice Internals (Control Flow etc.)
Meanwhile ngspice has become a complex piece of software. A typical simulation run may contain the following steps: Read the netlist, pre-process the netlist (e.g. compatibility, sub-circuits, parameters etc), create the circuit structure, create and fill in the matrix, run the simulation, process the resulting data.
Below you will find a list of available documents. They are formatted as Excel or Word files.
- Ngspice top level control flow
- Ngspice command op (operating point)
- Ngspice device model parsing
- Ngspice function parsers
These files are just a first step to document the internals of ngspice (control flow etc.). More will be made available as time allows.