Replies: 2 comments 4 replies
-
In KQC, chips are not macros but Now macro can be used to place Elements or PCells into your Layout in a programmatic way, but you do not need to use Macros for that. You can use GUI. You can use GUI to build a chip, you do not need to define an Chip Element programmatically. You can then save the file in any format KLayout supports. KLayout can also embed the parameters of the PCells into the exported file so you do not need to turn exported elements into static cells (loosing the parametrization of the Elements you used). You can also use macro which generates a simple python code out of PCells in your layout which you can use as a starting point to turn your chip definition into code. |
Beta Was this translation helpful? Give feedback.
-
In addition to the 'regular' workflow of analysing a single geometry with a pyEPR notebook, one can write scripts (or notebooks) to save the relevant data from pyEPR and sweep over these programmatically-made GDS files. It's a matter of preference and how much scaling is needed. For a GUI workflow, something like simulation = Simulation.from_cell(top_cell, margin=100, name=name) and adjusting the simulation ports as desired. Afterwards, the regular export as in |
Beta Was this translation helpful? Give feedback.
-
While I find your Elements Library PCells very useful, I do not see the benefits of developing chips as macros. Chip frame, pads, markers and masks are all fairly static designs that are easily maintained in a classical static cells way, as a GDS hierarchical cells library. Creating them programmatically has on the other hand the disadvantage of using a non-visual tool for a visual design, slowing the process. Am I missing something, is there a good reason to develop my chips as macros? In particular in regard with pyEPR integration,
Beta Was this translation helpful? Give feedback.
All reactions