<#1616 `ref::$PDKPATH` results in empty strings in...
# openlane-development
g
#1616 `ref::$PDKPATH` results in empty strings in `config.json` Issue created by xobs Description The documentation says that it is acceptable to use variables such as
ref::$PDKPATH
inside
config.json
. However, doing so results in an empty string. For example: config.json:
Copy code
"EXTRA_LEFS": [
            "ref::$PDKPATH/gf180mcuC/libs.ref/gf180mcu_fd_ip_sram/lef/gf180mcu_fd_ip_sram__sram512x8m8wm1.lef"
        ],
config_in.tcl:
Copy code
set ::env(EXTRA_LEFS) {}
Expected Behavior The documentation states that variables can be interpolated by beginning the string with
ref::
, and that
$PDKPATH
is an acceptable variable. This should result in a valid, nonempty string that starts with the requested variable. Environment report
Copy code
Kernel: Linux v5.15.79.1-microsoft-standard-WSL2
Distribution: ubuntu 22.04
Python: v3.10.6 (OK)
Container Engine: docker v20.10.21 (OK)
OpenLane Git Version: e570a6a5b428eddb19f8efe4f9d18d79f1050940
pip: INSTALLED
python-venv: INSTALLED
---
PDK Version Verification Status: MISMATCH
The version of open_pdks used in building the PDK does not match the version OpenLane was tested on (installed: 0059588eebfc704681dc2368bd1d33d96281d10f, tested: 3f9bdbd857564726b731760dc2c817e84ca7d8ac)
This may introduce some issues. You may want to re-install the PDK by invoking `make pdk`.
---
Git Log (Last 3 Commits)

e570a6a 2023-01-02T15:10:43+02:00 `run_designs` fixes (#1597) - Mohamed Gaber -  (grafted, HEAD, tag: 2023.01.03)
---
Git Remotes

origin  <https://github.com/The-OpenROAD-Project/OpenLane> (fetch)
origin  <https://github.com/The-OpenROAD-Project/OpenLane> (push)
Reproduction material issue_reproducible.tar.gz Relevant log output
Copy code
[ERROR]: Floorplanning failed
[ERROR]: module gf180mcu_fd_ip_sram__sram512x8m8wm1 not found in /si/work/caravel-minimax/openlane/mimi/runs/23_01_12_16_55/tmp/merged.nom.lef
[ERROR]: Check whether EXTRA_LEFS is set appropriately
The-OpenROAD-Project/OpenLane