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 #327

Open
joamatab opened this issue Jun 21, 2022 · 3 comments
Open

spice simulations not found #327

joamatab opened this issue Jun 21, 2022 · 3 comments

Comments

@joamatab
Copy link

Hi!

im trying to add spice models into the skywater open source pdk

gdsfactory/skywater130#16

what is the format for loading spice simulations in pyspice?

@proppy

@joamatab
Copy link
Author

this is what i get

.title sky130_fd_sc_hd__a2111o_1
.lib /home/jmatres/sky130/sky130/spice/sky130_fd_sc_hd.spice sky130_fd_sc_hd__a2111o_1
Vgnd VGND 0 0
Vdd VPWR VGND 1.8
R VPWR DRAIN 10k
VVin GATE VGND DC 0V PULSE(0V 1.8V 1ns 10ps 10ps 1ns 2ns)

spinit was not found
Note: can't find init file.
Unsupported Ngspice version 36
ERROR, library file /home/jmatres/sky130/sky130/spice/sky130_fd_sc_hd.spice, section definition sky130_fd_sc_hd__a2111o_1 not found
Error: ngspice.dll cannot recover and awaits to be detached

@HelgeGehring

@joamatab
Copy link
Author

related to issue
google/skywater-pdk#375

@proppy
Copy link

proppy commented Jul 1, 2022

See https://gist.github.com/proppy/964fa4b9277c3baf9e731872bbad93e4 for an example that load the spice model from an "install"-ed version of the SKY130 pdk (either thru https://anaconda.org/LiteX-Hub/open_pdks.sky130a or https://github.com/efabless/volare).

leochand101 added a commit to leochand101/PySpice that referenced this issue Sep 9, 2022
leochand101 added a commit to leochand101/PySpice that referenced this issue Sep 9, 2022
leochand101 added a commit to leochand101/PySpice that referenced this issue Sep 9, 2022
leochand101 added a commit to leochand101/PySpice that referenced this issue Sep 9, 2022
leochand101 added a commit to leochand101/PySpice that referenced this issue Sep 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants