You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Brian Taylor 4f5c23ba44 Add a correction to the previous change of inppas4.c, which freed devname and left instance name pointers in DEVnameHash pointing at freed memory. This commit adds the devname string to the symbol tables which are eventually cleared by INPtabEnd. Also, if a capacitor in the spice netlist has the same name (unlikely, but possible) as a shunt capacitor, then no shunt is created, and a warning is issued. 6 months ago
..
c7552_ann_skywater.net Add two simple Skywater PDK examples, inverter and ISCAS85 C7552 10 months ago
readme.txt Add two simple Skywater PDK examples, inverter and ISCAS85 C7552 10 months ago
skywater_inverter.net Add two simple Skywater PDK examples, inverter and ISCAS85 C7552 10 months ago

readme.txt

* simple examples using Skywater PDK


PDK sources:
https://github.com/google/skywater-pdk
http://opencircuitdesign.com/open_pdks/

Examples are: a simple inverter, and a benchmark circuit ISCAS85 C7552 with ca. 15k transistors.
These examples serve as low level starters with given ngspice netlist. If you are to design a circuit,
you will be better off with a GUI atop ngspice like XSCHEM, see
http://repo.hu/projects/xschem/xschem_man/tutorial_run_simulation.html and many other web sites and videos.

How to run the circuits in ngspice:

Edit the input files for correcting the path to the Skywater library, as it is user and OS specific.

Create a file .spiceinit in your HOME directory (or in this project directory).
It should contain the following statements:

set num_threads=8 ; number of physical core in your machine
set ngbehavior=hsa ; set compatibility for reading PDK libs
set skywaterpdk ; skip some checks for faster lib loading
set ng_nomodcheck ; trust the models, don't check the model parameters
unset interactive ; run scripts without interruption (default)
set nginfo ; some more info
option KLU ; select KLU solver over Sparse 1.3 solver

Run the simulation by calling
ngspice skywater_inverter.net

A plotting alternative in addition to the internal graphics is gnuplot.