Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

spice simulations not found #375

Closed
joamatab opened this issue Jun 21, 2022 · 5 comments
Closed

spice simulations not found #375

joamatab opened this issue Jun 21, 2022 · 5 comments
Labels
files-model-spice Issues related to Spice model files. type-question Further information is requested

Comments

@joamatab
Copy link

Hi!

im trying to load the spice simulations into pyspice

When running sky130/spice_models.py

https://github.com/gdsfactory/skywater130/blob/main/sky130/spice_models.py

i get

ERROR, library file /home/jmatres/sky130/sky130/spice/sky130_fd_sc_hd.spice, section definition sky130_fd_sc_hd__a2111o_1 not f
ound

what is the format for loading spice simulations in pyspice?

gdsfactory/skywater130#16

@mithro
Copy link
Contributor

mithro commented Jun 21, 2022

If you install the PDK using open_pdks you should get something which is usable with pyspice

@proppy
Copy link
Member

proppy commented Jul 1, 2022

Yes, I'd recommend to install a packaged version of the PDK thru https://anaconda.org/LiteX-Hub/open_pdks.sky130a or https://github.com/efabless/volare.

In particular you want to make sure you load the following file with .lib: https://github.com/RTimothyEdwards/open_pdks/blob/master/sky130/custom/models/sky130.lib.spice

@proppy proppy added type-question Further information is requested files-model-spice Issues related to Spice model files. labels Jul 1, 2022
@proppy proppy closed this as completed Jul 1, 2022
@proppy
Copy link
Member

proppy commented Jul 1, 2022

@RTimothyEdwards would it make sense to include https://github.com/RTimothyEdwards/open_pdks/tree/master/sky130/custom/models in this repo instead? So that project like gdsfactory can more easily repackage/redistribute the spice models?

@RTimothyEdwards
Copy link
Collaborator

RTimothyEdwards commented Jul 1, 2022

@proppy : There is this and about a hundred other fixes and enhancements to the PDK that would be better to have in the PDK itself rather than in open_pdks. open_pdks has become the only place to put fixes for skywater-pdk because skywater-pdk never gets updates. I would much prefer that open_pdks has little more to do than to collate some individual files into libraries. So YES, it makes sense to apply all those updates, patches, fixes, and enhancements to the skywater-pdk. But issuing pull requests on skywater-pdk has never accomplished anything in the past. If that has changed, let me know.

@proppy
Copy link
Member

proppy commented Jul 6, 2022

But issuing pull requests on skywater-pdk has never accomplished anything in the past. If that has changed, let me know.

Yes, I want to actively work on reconciling those changes with this repo (ideally https://github.com/RTimothyEdwards/open_pdks/tree/master/sky130/custom/ would be no more), I understand this is no small work but I think it's critical so that we can enable smoother collaboration between the PDK repo and other downstream project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
files-model-spice Issues related to Spice model files. type-question Further information is requested
Projects
None yet
Development

No branches or pull requests

4 participants