-
Notifications
You must be signed in to change notification settings - Fork 155
Adding components and models to the PDK
Lukas Chrostowski edited this page Feb 3, 2025
·
7 revisions
This page describes the steps to add components to the PDK, including 1) layout cells, 2) compact models, 3) linking the layout and model to enable post-layout simulations.
The implementation uses KLayout and Lumerical INTERCONNECT
- Use the GitHub installation approach for the PDK SiEPIC_EBeam_PDK installation
- In KLayout:
- Create a new layout using the PDK Technology
- SiEPIC > Simulation, Circuits > Setup Lumerical INTERCONNECT Compact Model Library
- you should see INTERCONNECT run and close, then a dialog that indicates success
- In INTERCONNECT:
- in the Elements window, under Design Kits, you should see the Technology appear in the list
- Note that it is Read-Only, so you cannot make contributions this way. This method is for End Users.
- in Windows:
- Find out where the Custom library folder is
- In INTERCONNECT:
- in the Elements window, find Custom
- right-click Custom and Redirect, to find out the folder location
- e.g., C:\Users\Photonics\AppData\Roaming\Custom, replace Photonics with your own user name
- Close INTERCONNECT
- In INTERCONNECT:
- Create a symbolic link from the GitHub CML folder to the Lumerical Custom folder:
- reference: https://www.howtogeek.com/16226/complete-guide-to-symbolic-links-symlinks-on-windows-or-linux/
- Start menu: "cmd" to start Command Prompt, right click "Run as Administrator"
- mklink /D %userprofile%\AppData\Roaming\Custom\EBeam %userprofile%\Documents\GitHub\SiEPIC_EBeam_PDK\klayout\EBeam\CML\EBeam
- where the Technology is EBeam
- mklink /D %userprofile%\AppData\Roaming\Custom\EBeam %userprofile%\Documents\GitHub\SiEPIC_EBeam_PDK\klayout\EBeam\CML\EBeam
- Restart INTERCONNECT, and you should see the Technology under both Custom and Design Kit
- Find out where the Custom library folder is
![image](https://private-user-images.githubusercontent.com/15843200/408713212-ff217d25-c399-4eb7-bbaf-21b70612052d.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkyODEwNDUsIm5iZiI6MTczOTI4MDc0NSwicGF0aCI6Ii8xNTg0MzIwMC80MDg3MTMyMTItZmYyMTdkMjUtYzM5OS00ZWI3LWJiYWYtMjFiNzA2MTIwNTJkLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjExVDEzMzIyNVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTBkZDdlNDdjNzZmYjc0M2Q5ZDk3YzYyZDM2NWFhOGFkOWEyNWRjY2Y3NzdmMDQ1ODNiNGIxZjUwYWE1ZDQ4MDAmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.MpJIkk_EbEt-q0w2po33pg_oPXA5pjiVLMuOeoyvbIQ)
- Example, start with ebeam_wg_integral_1550
- Edit: prefix, model
- Edit other things
- Right-click on the component, "Copy to Element Library"
- You should see a new .ice file in the CML folder
- Commit to GitHub / Pull Request