<@U016H5X1K62> Using `KLAYOUT_HOME=$PDK_ROOT/$PDK/...
# klayout
v
@yrrapt Using
KLAYOUT_HOME=$PDK_ROOT/$PDK/libs.tech/klayout  klayout -e
to invoke klayout with sky130 pdk. But only layer nos. are visible on layers pallete and not names. Need to manually import
.lyp
file everytime in order to see layer names inside klayout. Can you suggest solution to this issue.
m
@vks Just looked at my log messages
File
->`Log Viewer` Every time I opened a gds file I see the message
Copy code
Initialization of layers failed: Unable to open file: /$HOME/.klayout/tech/sky130/sky130.lyp (errno=2)
Linking the
lyp
file from the pdk to that location seems to work.
Copy code
mkdir -p $HOME/.klayout/tech/sky130
cd $HOME/.layout/tech/sky130
ln -s $PDK_ROOT/$PDK/libs.tech/klayout/tech/sky130A.lyp sky130.lyp
d
You can also call klayout with -l option and pass it the direct path to the lyp file.
👍 1