wisla morais
08/10/2022, 2:39 PM$SKYWATER_MODELS
;`netlist_dir`; $XSCHEM_LIBRARY_PATH
and PDK_ROOT
in the xschemrc file. Is there any more configuration missing?Mitch Bailey
08/10/2022, 2:56 PMxschemrc
file?wisla morais
08/10/2022, 3:18 PM/edatools/pdks/
has the open_pdks
, skywater-pdk
and sky130A
folders.Mitch Bailey
08/10/2022, 3:41 PMxschemrc
file
if { [info exists env(PDK_ROOT)] && $env(PDK_ROOT) ne {} } {
## found variable, set tcl PDK_ROOT var
if {![file isdir $env(PDK_ROOT)]} {
puts stderr "Warning: PDK_ROOT environment variable is set but path not found on the system."
}
#set PDK_ROOT
set PDK_ROOT /edatools/pdks/
} else {
## not existing or empty.
puts stderr "Warning: PDK_ROOT env. var. not found or empty, trying to find an open_pdks install"
So if you don't have a shell environment PDK_ROOT
variable set, you'll get this message
Warning: PDK_ROOT env. var. not found or empty, trying to find an open_pdks install
Setting PDK_ROOT
inside the if
statement won't work.
Before you run xschem
, try export PDK_ROOT=/edatools/pdks
wisla morais
08/10/2022, 4:15 PMArman Avetisyan
08/10/2022, 4:16 PMset ::env(PDK_ROOT) /edatools/pdks
Arman Avetisyan
08/10/2022, 4:16 PMwisla morais
08/10/2022, 4:21 PMset ::env(PDK_ROOT) /edatools/pdks
instead of set PDK_ROOT /edatools/pdks/
?Arman Avetisyan
08/10/2022, 4:23 PMArman Avetisyan
08/10/2022, 4:24 PMwisla morais
08/10/2022, 4:32 PMset ::env(PDK_ROOT) /edatools/pdks
at the beginning of the xschemrc file. Thank you for your help!Stefan Schippers
08/10/2022, 8:22 PMexport PDK_ROOT=/edatools/pdks
in the bash terminal and then start xschem.
Doing set ::env(PDK_ROOT) /edatools/pdks
inside a tcl file (the xschemrc) does the same thing, that is, set an environmental variable.wisla morais
08/12/2022, 2:23 PMwisla morais
08/12/2022, 2:32 PMspiceinit file
with "set ngbehavior=hs"
.Arman Avetisyan
08/12/2022, 2:45 PMwisla morais
08/12/2022, 2:59 PM.spiceinit
file is in my directory /home/wisla/sky130_skel
. In the skel folder has all my schematics and xschem_sky130
folder.Stefan Schippers
08/12/2022, 9:10 PMputs $netlist_dir
to get the location. If you didn't do any express setup it should be ~/.xschem/simulations
wisla morais
08/12/2022, 10:06 PM