image.png
s
image.png
m
I suspect that you have not included the sky130 library.
s
I've now included the library and getting this error
My tt corners file points to these files, but they don't exist on my system
image.png
my libs.ref/sky130_fd_pr folder does have a spice folder at all
m
How did you install the skywater pdk?
s
installed all the dependencies like magic and xschem and ngspice and all that first
then I just cloned the repo and did ./configure, make, and sudo make install
made sure to use the --enable-sky130-pdk on configure
and then copied the xschemrc file from the pdk into my working directory
m
The pdk is installed with the
open_pdks
repohttps://github.com/RTimothyEdwards/open_pdks
s
yes, that's the repo I installed
these are the instructions I went through
m
So your pdk is at
~/share/pdks
?
s
/usr/local/share/pdks
I used default install locations for everything
m
/usr/local/share/pdks/sky130A/libs.ref/sky130_fd_pr/spice
is empty?
s
it doesn't exist at all
I got this error when I did "make" on the open_pdk repo, I'm wondering if its related
image.png
m
probably
s
This error must be resolved before going anywhere further. The 'Error 1/2' message is not of great help. If anything fails, delete the whole open_pdks, reclone again, and try to rebuild again. Ensure you have lot of free diskspace.
s
plenty of disk space, ~60GB left
there's a "sky130A_make.log" file, looking through that for clues
I keep seeing an error that looks like this:
Error message output from magic script:
Could not find file 'minimum.tech' in any of these directories:
. $CAD_ROOT/magic/sys $CAD_ROOT/magic/sys/current
Cannot load technology "minimum" for initialization
m
Could you post your
sky130A_make.log
?
s
I think I may have found the issue, I tried reinstalling magic and saw there was a fatal error when I tried compiling it,
fatal error: GL/glu.h: No such file or directory
this was fixed by installing libglfw3-dev libgl1-mesa-dev and libglu1-mesa-dev
im now recompiling open_pdk
s
Good!, I also got in similar situations, the golden rule is always check the status of every installation before moving further.
s
I think I have everything working!
Successfully able to create schematics in xschem and simulate in ngspice
👍 1
s
Great! looking forward for some interesting circuits!! 💪