Do I have to do something special to get a variabl...
# openlane
s
Do I have to do something special to get a variable into
config_in.tcl
? Only some variables are getting copied over from
config.json
. For example,
STD_CELL_LIBRARY
and
PL_TARGET_DENSITY
get copied, but
VERILOG_FILES_BLACKBOX
and
EXTRA_GDS_FILES
never get filled in.
Ah, it actually seems like it's just a bug in the conversion script. If a string starts with
ref::$PDKPATH/
then the entire string becomes empty. I'll file an issue on it.
Double-actually, I can't make it work. How can I use environment variables and/or the PDK path inside variables like
VERILOG_FILES_BLACKBOX
?
m
Can you share your
config.json
file?
s
I ended up posting the issue at https://github.com/The-OpenROAD-Project/OpenLane/issues/1616 -- something was causing the values to get silently deleted, and I'm still not sure what. Using
ref::$PDKPATH
works now that I've removed
/gf180mcuC
from the path, but it's still odd that most other paths don't work and there wasn't an error raised with the invalid path.