a spice inspired circuit simulator
- C 97.8%
- CMake 1.7%
- Python 0.5%
| src | refactor sweeps by adding struct | |
| tests | REMOVE (MOS|J)FETs. Reduce scope. | |
| .gitignore | use sht_log now | |
| CMakeLists.txt | REMOVE (MOS|J)FETs. Reduce scope. | |
| COPYING | indent -linux | |
| Doxyfile | update todo. | |
| README.md | fix deadlink in readme | |
| TODO.md | refactor sweeps by adding struct | |
| view | aaaaaaaaa | |
zspice.
zspice is an analog circuit simulator inspired by SPICE engines. It is a recreational learning project, to understand how SPICE engines work, and how common components are modelled in SPICE.
Build Instructions.
Requires CMake, also Ninja is nice to have.
git clone https://github.com/zoomlogo/zspice
cd zspice
mkdir build && cd build
cmake .. -G Ninja # if ninja is present
ninja
./test_run # to run the tests
./zspice # actual program
Doc Build Instructions.
Requires doxygen.
doxygen # output in docs/
TODO
See TODO for info.
COPYING
See COPYING for info.
Resources
There are some of the resources I referred while implementing some aspects of the program.
- visualization of diode converging
- qucs technical docs
- berkeley spice paper
- MNA explanation
- wikipedia - MNA
- ngspice manual
- Modelling the Bipolar Transistor, Ian E. Getreu