Stefan Schippers
03/25/2022, 9:06 AMexport PDK_ROOT=.....
before launching xschem.
If you look the bottom of your xschemrc you see:
set SKYWATER_MODELS ${PDK_ROOT}/${PDK}/libs.tech/ngspice
PDK_ROOT is the root directory of the open_pdks installation, PDK
usually is just sky130A
.
Whatever value you set for PDK_ROOT
the path ${PDK_ROOT}/sky130A/libs.tech/ngspice
must exist on your system, to test just do:
ls ${PDK_ROOT}/sky130A/libs.tech/ngspice
If the directory is not found don't even try to start xschem, it will not find the open_pdks installation.Mayank Gupta
03/25/2022, 9:16 AM