Forum Replies Created
-
AuthorPosts
-
8 November 2022 at 15:16 in reply to: Detecting closed patterns and moving polygons from a GDS file #6885
StefvU
ParticipantHello Cecil,
Imported GDS files can not be changed easily, since this requires reopening the cell which would change the history.
Some GDS-viewing tools (for example KLayout with its DRC module) offer functions to check GDS files on polygon level. This can be used to detect closed loops in existing GDS files.
If you would like to check if your generated structure in Nazca has overlapping pins, you could check if the coordinates of the input and output pin are the same:
pin1.xya() == pin2.xya() # check if two pins have matching coordinates
.I hope this answers your question.
Best regards,
StefStefvU
ParticipantHello Lorenzo,
In general, it is considered a bad habit to edit a cell after creation (or import) as you would “change history”.
Please see this forum post on a similar topic.I would suggest to use your initial approach:
- TOP cell
- loaded gds
- built cell
I hope this helps.
-StefStefvU
ParticipantHello Evan,
Thank you for reporting this issue.
We have noted it and will include a fix in a future Nazca release.Best regards,
StefStefvU
ParticipantDear Wook,
When I drew structures, I had to see arrows between structures in layer 1001.
If you want to edit the arrow of a certain interconnect, you can do that creating a new pinstyle and by replacing the “pinstyle” and “arrow” attributes of the interconnect you want to use.
An example:
import nazca as nd from nazca import demofab as pdk # Define your new pinstyle and arrow styledict = { "layer": (1002, 0), "annotation_layer": (1002, 1), } nd.add_pinstyle(name="mystyle", styledict=styledict) new_arrow = nd.bb_util.make_pincell(style="mystyle") # Apply your new pinstyle to an Interconnect ic = pdk.deep ic.pinstyle = "mystyle" ic.arrow = new_arrow
If you instead want to remap the 1001 layer to another layer when importing GDS files, you can use the “layermap” attribute of the “load_gds” function.
-
This reply was modified 2 years, 3 months ago by
StefvU.
- TOP cell
-
AuthorPosts