Is there a way to install open_pdks sky130 with ju...
# analog-design
p
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?)
m
Yes, open_pdks has important fixes to the spice models...
j
and open_pdks has --disable-X options to disable indidividual options. I think that way you can enable spice only
m
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.
p
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. https://github.com/RTimothyEdwards/open_pdks/blob/7519dfb04400f224f140749cda44ee7de6f5e095/sky130/Makefile.in#L1011-L1102
k
@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
t
@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
make
, you can do
cd sky130
and start building just the parts you need, which would mainly be
make tools-A
and
make primitive-A
(and/or
B
).
1
@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
libs.tech
with the
make tools-*
and
libs.ref/sky130_fd_pr
with the
make primitive-*
.
1