Home >> Software >> Simulators >> Linux
Ngspice is both the name of a development project and the name of the developed software (hmm, strange isnt'it ?). The ngspice project aims to build an open source GPLed mixed-mode/mixed-level circuit simulator. This means that the circuit simulator has to be written nearly from scratch, which is a complex and time consuming task. The project first step (and not a small one) has been to get a freely available (but not GPLed) circuit simulator, spice 3f5 and studied its code in the hope that we could use it as a base for the real ngspice (the GPLed one). While it is not possible, at the time this page is written, to base our code on spice 3f5, because of a conflict between its license and the GPL, we are trying to correct its bugs and make some improvements, providing our results to the community. This process goes in parallel with the task of writing the new simulator. We hope that Berkeley's people will change spice's license releasing it under GPL or under the new version of the BSD which has the incompatibility removed. This will surely speed up the coming of the real ngspice.
When ready, ngspice will include some important feature like:
- Better convergence: new algorithms for Operating Point analysis. Modified Fixed Point homotopy is a good candidate.
- Dynamically Loadable Devices: In the original spice code all devices' models have to be statically linked in the simulator executable. This new approach will reduce the memory needed by the simulator code and improve it's modularity. A device interface that allows dynamic loading has not yet defined. Since ng-spice-rework-10 all devices are shared libraries, but they must still be linked at compile time. The next step is to make devices behave as "plugins".
- Implementation of new analyses: ngspice should become a powerful synthesis tool, so 2-ports networks analyses are a must and optimization features must be taken into account.
- Mixed Mode / Mixed Level simulation: include into ng-spice the capabilities to simulate analog and digital systems and include numerical devices into its netlists. CIDER device simulator (always from Berkeley's CAD group) is the candidate for the Mixed Level part.
- Input/output enhancements: most spice users have requested improvements in the I/O part of spice, mostly compatibility issues with existing commercial simulators.
Bookmark or share