Difference between revisions of "SKY130 Models"
Jump to navigation
Jump to search
Line 3: | Line 3: | ||
== Step 2: == | == Step 2: == | ||
− | After installing git, you can clone the SKY130 libraries into a directory (e.g. <code> | + | After installing git, you can clone the SKY130 libraries into a directory (e.g. <code>/home/louis/git/sky130</code>) in your filesystem by: |
<div style="margin-left: 2em;"> | <div style="margin-left: 2em;"> | ||
<source lang="bash"> | <source lang="bash"> | ||
− | mkdir ./ | + | cd ~/git |
− | cd ./ | + | mkdir ./sky130 |
+ | cd ./sky130 | ||
git clone https://github.com/google/skywater-pdk-libs-sky130_fd_pr.git | git clone https://github.com/google/skywater-pdk-libs-sky130_fd_pr.git | ||
</source> | </source> | ||
</div> | </div> | ||
− | 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. <code> | + | 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. <code>/home/louis/git/sky130</code>). |
== Step 3: == | == Step 3: == | ||
+ | To use these models in your SPICE deck, add the following command: | ||
+ | |||
+ | <div style="margin-left: 2em;"> | ||
+ | <source lang="bash"> | ||
+ | * 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 | ||
+ | </source> | ||
+ | </div> |
Revision as of 11:56, 11 October 2021
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 use these models in your SPICE deck, add the following command:
* 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