<@U01819B63HP>: Is this an error?: In xschemrc, ...
# xschem
t
@User: Is this an error?: In xschemrc,
lappend tcl_files scripts/sky130_models.tcl
fails. It only works if I give it a full absolute path. It seems to me that for a relative path it should be checking
XSCHEM_LIBRARY_PATH
to find this.
s
Correct, in a final installation
tcl_files
should be a list of tcl scripts (example: ngspice backannotation) to load at startup. The
scripts/sky130_models.tcl
works when launching xschem from the directory where xschemrc is located. I did this to avoid specifying absolute paths (that depend on target system/installation). Another consideration:
tcl_files
is not related at all to
XSCHEM_LIBRARY_PATH
.
XSCHEM_LIBRARY_PATH
is used to find symbols / schematics by appending the reference found in the schematic to any paths in
XSCHEM_LIBRARY_PATH
until an existing file is found.