Sven B
06/28/2024, 3:28 PMPDK_ROOT
and PDK
to the flow via the config.json
file of my design. Next step I specified it directly in the environment, which appears to progress a little bit further. However, at this moment, it gives an error Could not resolve the PDK 'mypdk'.
in cli.py:157
. Am I doing something wrong here?Sven B
06/28/2024, 3:29 PMMitch Bailey
06/28/2024, 11:00 PMPDK_ROOT
and PDK
variables are set in the *nix environment and not the config.json
file.
The config.json
file has settings for individual pdks
"pdk::sky130*": {
It probably has a default for sky130 somewhere, so this line may not be needed for the sky130 process. If you’re making your own pdk, you may need to add the settings for that.
There are also `config.json`/`config.tcl` files in the pdk that you may need to create for your process. In particular, the $PDK_ROOT/$PDK/libs.tech/openlane/config.tcl
file.Sven B
07/03/2024, 7:35 AMSven B
07/03/2024, 8:02 AMpdk_root
variable as the input, the pdk
variable appears to be detected fine.Sven B
07/03/2024, 8:02 AM--manual-pdk
flag. Documentation found here: https://openlane2.readthedocs.io/en/latest/usage/about_pdks.htmlSven B
07/03/2024, 8:54 AMopenlane --pdk-root ~/pdks --pdk mypdk --manual-pdk <filename>.json