SKY130 Models
Step 1:
Installing the SKY130 130nm CMOS models from the Github repository requires installing git. You can also just got to the SkyWater github page and just download the files as one zip file.
Step 2:
After installing git, you can clone the SKY130 libraries into a directory (e.g. /home/louis/git/sky130
) in your filesystem by:
cd ~/git
mkdir ./sky130
cd ./sky130
git clone https://github.com/google/skywater-pdk-libs-sky130_fd_pr.git
Note that if you downloaded the zip file instead, you should get the same directory structure by uncompressing the zip file into your local directory (e.g. /home/louis/git/sky130
).
Step 3:
To instantiate SKY130 devices into your SPICE deck, add the following commands to access the typical (tt) model corner:
* Include SkyWater sky130 device models
.lib "/home/louis/git/sky130/skywater-pdk-libs-sky130_fd_pr/models/sky130.lib.spice" tt
.option scale=1e-6
Since these are relatively complex, the models are not native transistors, but subcircuits. So to instantiate a low threshold voltage (LVT) 1.8V NMOS transistor with a width of 1um and a length of 0.5um, you will need to use the 'x' device prefix instead of the 'm' prefix:
xm1 d1 g1 0 0 sky130_fd_pr__nfet_01v8_lvt w=1 l=0.5