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 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(
# Add Pins
nd.Pin('b0', width=2).put(250, 0, 0)
Indeed, something simple you’re missing: the name you assign to the new cell object (ECC) is the same as the name you assign to the loaded GDS cell (ECC). They should be different as they refer to different objects.