<#407 Missing openlane environment variable in gf1...
# open_pdks
g
#407 Missing openlane environment variable in gf180mcu. Issue created by d-m-bailey Running
make user_proj_example
with open_pdks version
dd7771c384ed36b91a25e9f8b314355fc26561be
fails with
Copy code
[INFO]: Running Synthesis (log: ../home/user/gf180mcu/mpw-1/caravel_user_project/openlane/user_proj_example/runs/23_10_15_17_33/logs/synthesis/1-synthesis.log)...
[ERROR]: during executing yosys script /openlane/scripts/yosys/synth.tcl
[ERROR]: Log: ../home/user/gf180mcu/mpw-1/caravel_user_project/openlane/user_proj_example/runs/23_10_15_17_33/logs/synthesis/1-synthesis.log
[ERROR]: Last 10 lines:
ERROR: TCL interpreter returned an error: can't read "::env(SYNTH_CAP_LOAD)": no such variable                                                                            
child process exited abnormally
Running
find $PDK_ROOT/$PDK/libs.tech -type f -exec grep SYNTH_CAP_LOAD {} /dev/null \;
returns nothing, but when set to the sky130 pdk, you can see that each standard cell library has a definition.
Copy code
$PDK_ROOT/sky130A/libs.tech/openlane/sky130_fd_sc_hd/config.tcl:set ::env(SYNTH_CAP_LOAD) "33.442" ; # femtofarad __inv_16 pin A cap (<https://github.com/google/skywater-pdk-libs-sky130_fd_sc_hd/blob/main/cells/inv/sky130_fd_sc_hd__inv_16__tt_025C_1v80.lib.json>)
$PDK_ROOT/sky130A/libs.tech/openlane/sky130_fd_sc_ms/config.tcl:set ::env(SYNTH_CAP_LOAD) "22.66" ; # femtofarad _inv_8 pin A cap
$PDK_ROOT/sky130A/libs.tech/openlane/sky130_fd_sc_hvl/config.tcl:set ::env(SYNTH_CAP_LOAD) "70.77" ; # femtofarad __inv_16 pin A cap (<https://github.com/google/skywater-pdk-libs-sky130_fd_sc_hvl/blob/main/cells/inv/sky130_fd_sc_hvl__inv_16__tt_025C_3v30.lib.json>)
$PDK_ROOT/sky130A/libs.tech/openlane/sky130_osu_sc_t18/config.tcl:set ::env(SYNTH_CAP_LOAD) "37.357" ; # femtofarad INVX8 pin A cap
$PDK_ROOT/sky130A/libs.tech/openlane/sky130_fd_sc_hs/config.tcl:set ::env(SYNTH_CAP_LOAD) "43.39" ; # femtofarad _inv_16 pin A cap (<https://github.com/google/skywater-pdk-libs-sky130_fd_sc_hs/blob/main/cells/inv/sky130_fd_sc_hs__inv_16__tt_025C_1v68.lib.json>)
$PDK_ROOT/sky130A/libs.tech/openlane/sky130_fd_sc_ls/config.tcl:set ::env(SYNTH_CAP_LOAD) "46.690" ; # femtofarad _inv_16 pin A cap (<https://github.com/google/skywater-pdk-libs-sky130_fd_sc_ls/blob/main/cells/inv/sky130_fd_sc_ls__inv_16__tt_100C_1v80.lib.json>)
$PDK_ROOT/sky130A/libs.tech/openlane/sky130_fd_sc_hdll/config.tcl:set ::env(SYNTH_CAP_LOAD) "33.468" ; # femtofarad _inv_16 pin A cap (<https://github.com/google/skywater-pdk-libs-sky130_fd_sc_hdll/blob/main/cells/inv/sky130_fd_sc_hdll__inv_16__tt_025C_1v80.lib.json>)
RTimothyEdwards/open_pdks