# analog-design

Pepijn de Vos

01/13/2022, 9:16 AM
Is there a way to install open_pdks sky130 with just the spice files? Or should I just be cloning sky130_fd_pr directly if I don't care about the rest of the stuff? IIRC open_pdks has some patches to the spice files (which are hopefully being upstreamed?)

Matthew Guthaus

01/13/2022, 1:52 PM
Yes, open_pdks has important fixes to the spice models...

John Simons

01/13/2022, 2:31 PM
and open_pdks has --disable-X options to disable indidividual options. I think that way you can enable spice only

Mayank Gupta

01/24/2022, 8:00 AM
I have used the spice model files of the sky130 pdk with ltspice. If you just need the spice model files and don't care about the rest just download the openpdk folder with model files and use them. Specifically the model files that are given in the library folder.

Pepijn de Vos

01/24/2022, 8:55 AM
Why have these important fixes not been upstreamed?
Looking at open_pdks it makes extensive changes to the upstream pdk. Why are these changes not contributed back upstream? I would just like to use the spice files without installing GBs of digital stuff, but if the upstream spice files are broken this seems like a bad situation.

Keno Fischer

02/18/2022, 6:12 PM
@Tim 'mithro' Ansell Can you elaborate on the plan for the upstream PDK repo? Seems like fixes are accumulating in various places outside of it. Wouldn't it be better to just use the upstream repo here?
👍 1

Tim Edwards

03/03/2022, 10:47 PM
@Pepijn de Vos: Sorry, I didn't see this thread. . . For your initial question ("Is there a way. . . ?"): After a full configuration of open_pdks, instead of doing
, you can do
cd sky130
and start building just the parts you need, which would mainly be
make tools-A
make primitive-A
@Pepijn de Vos: The only way to delete the installed PDK is with
make uninstall
, so if after doing that partial build, you do
make install
, if you have pre-installed libraries from a previous build, they'll still be there. You'll have just updated
with the
make tools-*
with the
make primitive-*