Hi, I'm trying change my lib from `.lib D:/Spice_g...
# sky130
p
Hi, I'm trying change my lib from
.lib D:/Spice_general/open_pdks/sky130/sky130A/libs.tech/combined/sky130.lib.spice tt
to
.lib D:/Spice_general/open_pdks/sky130/sky130A/libs.tech/ngspice/sky130.lib.spice tt
Does anyone know the appropriate env var for this?
Solved: Just had to edit the PDK_ROOT var in xschemrc
s
In the
xschemrc
the variable used is
SKYWATER_MODELS
Copy code
# set SKYWATER_MODELS ${PDK_ROOT}/${PDK}/libs.tech/ngspice
  set SKYWATER_MODELS ${PDK_ROOT}/${PDK}/libs.tech/combined
I have the two lines above in my xschemrc so I can comment/uncomment to switch. You can change this setting runtime by copy / pasting one of the above lines (uncommented) in the xschem console. and re-generating the netlist.