It looks like you're new here. If you want to get involved, click one of these buttons!
When placing like cells multiple times, klayout uses "cellName$1,2,3..." within the hierarchy for identifying the cell.
Is there a methodology that I can use to prevent this naming convention?
I have scripts that need to preserve the hierarchy.
Example: I have a cell called bump_gnd_CDS_*. Instances of cell bump_gnd_CDS_* have cell bump_sig_CDS_* as a subcell. My script modifies bump_sig_CDS_* but if bump_gnd_CDS_* is flat then it will not get the needed modifications.
Thank you,
Deacon
Comments
Hi @deacon19062,
The number is added to make the cell name unique. GDS has a strict requirement of unique cell names - you cannot use the same name for multiple cells.
So the "$n" number is not related to hierarchy. It simply happens to be added if you create cells temporarily without caring to use a unique name.
Matthias
Ok. Thanks for that information.