<#332 incorrect path to klayout lyp file> Issue cr...
# open_pdks
g
#332 incorrect path to klayout lyp file Issue created by proppy Currently open_pdks installs technology file in the current directory layout:
Copy code
/home/proppy/.volare/sky130A/libs.tech/klayout
/home/proppy/.volare/sky130A/libs.tech/klayout/drc
/home/proppy/.volare/sky130A/libs.tech/klayout/scripts
/home/proppy/.volare/sky130A/libs.tech/klayout/tech
/home/proppy/.volare/sky130A/libs.tech/klayout/tech/sky130A.lyp
/home/proppy/.volare/sky130A/libs.tech/klayout/tech/sky130A.lyt
/home/proppy/.volare/sky130A/libs.tech/klayout/lvs
/home/proppy/.volare/sky130A/libs.tech/klayout/pymacros
/home/proppy/.volare/sky130A/libs.tech/klayout/macros
/home/proppy/.volare/sky130A/libs.tech/klayout/ruby
/home/proppy/.volare/sky130A/libs.tech/klayout/python
/home/proppy/.volare/sky130A/libs.tech/klayout/klayoutrc
which is slightly different from the one in https://github.com/mabrains/sky130_klayout_pdk This causes reference to the
lyp
file not be resolved my initializing klayout with technology:
Copy code
$ KLAYOUT_HOME=$PDK_ROOT/sky130A/libs.tech/klayout klayout -e
...
Warning: Initialization of layers failed: Unable to open file: /home/proppy/.volare/sky130A/libs.tech/klayout/tech/sky130/sky130A.lyp (errno=2)
One can fix the reference to the
lyt
file to drop the
sky130
directory: https://github.com/mabrains/sky130_klayout_pdk/blob/main/sky130_tech/tech/sky130/sky130.lyt#L7-L9 in order to workaround this issue:
Copy code
<base-path>$(appdata_path)/tech</base-path>
 <original-base-path>$(appdata_path)/tech</original-base-path>
 <layer-properties_file>sky130A.lyp</layer-properties_file>
RTimothyEdwards/open_pdks