For SKYWATER_MODEL we need to give sky130/libs.tec...
# sky130
s
For SKYWATER_MODEL we need to give sky130/libs.tech And For SKYWATER_STDCELLS we need to give sky130/libs.ref Is it right? @User
a
Why does it start with ~ ?
@User I think you need to fix the ~ first
s
@User for these two paths you must give these:
set SKYWATER_MODELS ${PDK_ROOT}/${PDK}/libs.tech/ngspice
set SKYWATER_STDCELLS ${PDK_ROOT}/${PDK}/libs.ref/sky130_fd_sc_hd/spice
I assume you have
open_pdks
installed. The
PDK_ROOT
environment variable is assumed to point to the root of the open_pdks, typically:
/usr/local/share/pdk
the
PDK
variable sets the process variant (
sky130A
or
sky130B
). If unset xschem assumes
sky130A
. Xschem tries to find an open_pdks installation and set
PDK_ROOT
automatically if it is found in
/usr/local/share/pdk
or in user's home
${HOME}/share/pdk
. You also can get rid of PDK_ROOT variable and give absolute paths to the above SKYWATER_MODELS and SKYWATER_STDCELLS:
set SKYWATER_MODELS /usr/local/share/pdk/sky130A/libs.tech/ngspice
set SKYWATER_STDCELLS /usr/local/share/pdk/sky130A/libs.ref/sky130_fd_sc_hd/spice
s
@User do I need to remove ~
a
yes
s
@User the same error again
a
just set the xschemrc to one from pdk. Dont need to avoid it.
s
IMG_20220324_105227.jpg
a
again: run xschem with xschemrc from sky130 Also: always show the error and every input you are supplying (like commands and files)
s
IMG_20220324_105630.jpg
a
Do: export PDK_ROOT= then run xschem with xschemrc from sky130 supplied. Dont modify any xschem scripts
the pdk root need to be set where your pdk is installed
Where is your pdk installed?
s
Open pdk
Sir can you show an example pictures where to specify the path
a
export PDK_ROOT=/opt/pdk_root xschem --rcfile $PDK_ROOT/sky130A/libs.tech/xschem/xschemrc The export command needs to be set to the path, where the pdk is installed. PDK_ROOT's content:
s
Wher did you get this armleo_sky130_ip folder
a
its just the folder with my xschem files
s
Where did you follow the installation process any sources please let me know
a
Installation process of what?
s
Sky130, Xschem, Magic, Ngspice, Netgen
IMG_20220324_113808.jpg
a
ngspice looks installed. Xschem seems to be working too. For Magic I followed steps to compile and install described on Magic's website. For OpenPDKs I followed the steps for Open_PDKS on GitHub. It contains the sky130 PDK Netgen is also compiled from source, following guide on the website.
s
IMG_20220324_114201.jpg
a
You installed the skywater pdk, but you should install open pdks instead
and then use properly set the pdk root to installed pdk path. I showed the example of content of installed open pdk on top
I am saying this, because ngspice tries to load the wrong .spice file, which suggests you misscondigured it.
missconfigured either ngspice of xschem