KLayout PCell script - SiEPIC/SiEPIC_EBeam_PDK GitHub Wiki

Brief description of how to create a layout PCell in KLayout.

Install KLayout and SiEPIC PDK:

Put the example PCell file (SiEPIC_Bragg.lym) in your “pymacros” folder. On OSX and Linux, this is:

  • $HOME/.klayout/pymacros on Windows
  • probably in your home directory, klayout/pymacros

Create a new layout

Add a new Instance. Choose the Bragg library, and then choose the Cell BraggArc.

Then F5 for the Macro Editor, and find the file SiEPIC_Bragg. Make edits.

Press the Play! button, and see the changes get updated in the layout.

Good luck!