Home › Forums › Nazca › Building block from a gds file
Tagged: layer number, gds, import, cell width, cell length
Hi Nazca team,
is it possible to create a BB from the gds of a cell, and defining input/output ports for it? In order to manipulate it through code?
There is a tutorial precisely on this: https://nazca-design.org/how-to-make-bb-from-gds/
That shows how to import a cell from the GDS file and add pins to it in order to use the full Nazca tool set to connect it to the rest of your circuit, just like any other building block.
Hi, is it possible to change the layer number of an imported gds file?
You can change the layer number of an imported GDS by using a ‘layermap’ argument.
‘layermap’ maps the original layer to a new layer. Omitted layers will not be changed.
For example, you can change layer #1 from a loaded GDS to layer #10 using the following syntax:
import nazca as nd
Thanks Katarzyna, very helpful!
One more question, in the Cell definition by enabling autobbox, the cell will be surrounded by a box. Now, is it possible to get dimension and position of this box?
thank you again
If C is a cell, use
These values are set by the autobbox.
© 2024 Nazca Design. | email@example.com