Skip to content

KLayout PCell script

Lukas Chrostowski edited this page Apr 27, 2016 · 1 revision

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.

pastedgraphic-5

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!