I create a cellview with a Pcell instnace.
And I want to attach the label according to the DGSB for LVS.
I can use the inst->master->terminals->pins to get the DGSB pins correspond coordinate in the cellview.
Like:
instParentTerminals = inst->master->terminals
foreach(term instParentTerminals
foreach(pin term->pins
foreach(pin term->pins
printf("%L\n" pin->fig->lpp )
)
pointList = tconc(pointList dbTransformPoint(centerBox(pin->fig->bBox) inst->transform ) )
)
terminalList = tconc(terminalList list( term->name car(pointList) ) )
pointList = nil
)
But I need to know which metal in the Pcell is connected to these pins due to the figs of these pins are not assigned to the metal directly. ex: S and D are assigned to OD
Is there any way to get this kind of information?
Or is there any way I can do net tracing in db level rather than open a window and call leMarkNet? It is not a efficient way to do such a thing.