Hello!
I am having some issues with pins in BBs created from gds. As far as I can see my syntax is the same as in the tutorials but when I try to connect to the pins I either get an error that “b0” is not defined or no error but regardless any subsequent bb is not automatically put to the previous bbs b0. Also when I use “print(ECC.pin.keys())” with ECC being the cell name, only “<span style=”color: #000000; font-family: monospace; font-size: 14px; white-space: pre-wrap;”>dict_keys([‘org’])” is returned.
I’m sure there is some simple reason I am missing.
My code looks like this:
import nazca as nd
import os
import nazca.geometries as geom
import nazca.demofab as demofab
import nazca.interconnects as IC
with nd.Cell(name='EdgeCouplerC') as ECC:
# load GDS BB
ECC = nd.load_gds(
filename='WG_450.gds',
cellname='WG_450'
)
# Add Pins
ECC.put()
nd.Pin('b0', width=2).put(250, 0, 0)
nd.put_stub()
ECC.put(0)
nd.export_gds()