v0.5.0
SiEPIC-Tools is now available on PyPI.
You can now create PCells and layouts using one of three approaches:
- KLayout Application: GUI graphical mode, with the KLayout IDE
- KLayout batch mode: run using klayout -zz -r, without any graphics
- Python "import SiEPIC", using VSCode, Spyder, Jupiter notebooks, etc.
The SiEPIC-EBeam-PDK has been made compatible with the external Python environment approach.
The following example will create a layout with all the EBeam PDK cells on a layout. Change the path to point to your local GitHub copy of the EBeam PDK, then run this file: https://github.com/SiEPIC/SiEPIC_EBeam_PDK/blob/master/klayout/EBeam/pymacros/Example_scripted_layouts/UnitTest_All_Library_Cells.py
You can run it in VScode.
![image](https://private-user-images.githubusercontent.com/15843200/283991571-2b47f4b8-99a5-416c-b979-533b9ec842e6.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk2MTAxMTgsIm5iZiI6MTczOTYwOTgxOCwicGF0aCI6Ii8xNTg0MzIwMC8yODM5OTE1NzEtMmI0N2Y0YjgtOTlhNS00MTZjLWI5NzktNTMzYjllYzg0MmU2LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE1VDA4NTY1OFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWI1ODQ4MzA1Nzk2NDI1NGViMmFhZGMwMTNkM2RhNTJjYjI1ZGQ3NjA5ZjZmZjlkZDBmNmQ3ZGEyZjFlMGFlOTYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.4Truh8KFRyDbBnhTsUeK0Q3TpXS8ABmRwycRMTaVeow)
Several additional functions have been added:
- SiEPIC.scripts.instantiate_all_library_cells
- SiEPIC.scripts.load_klayout_technology
- SiEPIC.utils.new_layout
Some performance improvements and bug fixes have been made.