Hi Dr. <@U01RSNFAM55> I'm not sure if this aligns ...
# ihp-sg13g2
f
Hi Dr. @Boris Murmann I'm not sure if this aligns with your objective or not.
πŸ™Œ 2
CC @Amro Tork
a
@Farag Elsayed I believe no. You need to be able to see the standard cell library as well.
I had a private discussion with Dr. Boris.
βœ… 1
You will need to define KLAYOUT_LIBRARIES on top of what you have done and test again
What you have done is perfect for getting PCells to work
Take a look at this
f
Great, thanks.
a
Keep in mind that standard cells are at: This works in isolation:
export KLAYOUT_PATH=$PDKPATH/libs.ref/sg13g2_pr/gds/:$PDKPATH/libs.ref/sg13g2_stdcell/gds
I think we might need to create a symlink inside your setup for standard cells library as well
f
Yes, I think we could do that. Thanks
a
Read that carefully: $KLAYOUT_PATH: contains a series of search locations separated by a ":" on Linux or ";" on Windows. These are the locations searched for macros, libraries, plugins, ruby modules etc. The first entry of that path will be the one where the configuration is stored when KLayout exits. The installation site (where the KLayout executable resides) is always part of the search path. It cannot be disabled.
βœ… 1
@Farag Elsayed Test it out and let us know
f
@Amro Tork It works with me using symlink, is that what we need?
a
@Farag Elsayed Perfect
Dr. @Boris Murmann Check out the videos above and let us know if you need anything else.
Cc @Krzysztof Herman
b
Thank you, this works indeed, but requires a modification of the PDK directory structure, which I was hoping to avoid.
a
Happy to always help Dr. @Boris Murmann
f
Copy code
mkdir $PDKPATH/libs.tech/klayout/libraries/
ln -s $PDKPATH/libs.ref/sg13g2_pr/gds/sg13g2_pr.gds $PDKPATH/libs.tech/klayout/libraries/
ln -s $PDKPATH/libs.ref/sg13g2_stdcell/gds/sg13g2_stdcell.gds $PDKPATH/libs.tech/klayout/libraries/
KLAYOUT_PATH=$PDKPATH/libs.tech/klayout:$PDKPATH/libs.tech/klayout/tech/ klayout -e
This approach can function without altering the current folder structure, just we'll create a new directory for libraries. Cc @Amro Tork
πŸ‘ 2