Skip to content

zoomlogo/zspice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

104 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

analog circuit simulator

for the mock-up version check https://codeberg.org/zoomlogo/aacs

todo:
- non linear dc analysis
 - mosfet
  - mosfet capacitance & Vbs diode
  - mosfet tests
 - jfet
- docs

- make sweeps return a data struct instead of directly writing csv file
- add functions to write specific components to that csv file
- add a function to write that data to csv file
- add a sweep for values

- ac small signal models
 - diode
 - bjt
 - mosfet
 - jfet

- transient analysis

- optimization
 - compute using sparse matrices (KLU)
 - multithreading support on sweeps (use sbuf_t)

- parsing
 - python api (ctypes)
 - python impl first, then C later
 - expression parsing
 - netlist parsing
 - (opt) custom netlist parsing

- full fledged models (parser injections)

far future:
- gui
- digital analysis

build instructions:
git clone https://github.com/zoomlogo/zspice
cd zspice
mkdir build && cd build
cmake ..
ninja
./test_run           # to run the tests
./zspice             # actual program

doc build instructions:
doxygen  # output in docs/

resources:
- https://www.desmos.com/calculator/rgm1u8j8ik
= https://guitorri.github.io/qucs-web/docs/technical.pdf
= https://www2.eecs.berkeley.edu/Pubs/TechRpts/1973/ERL-m-382.pdf
= https://cheever.domains.swarthmore.edu/Ref/mna/MNA_All.html
= https://en.wikipedia.org/wiki/Modified_nodal_analysis
= https://ngspice.sourceforge.io/docs/ngspice-45-manual.pdf
= Modelling the Bipolar Transistor, Ian E. Getreu

About

a spice inspired circuit simulator

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors