bndAddObjectsBinding
bndAddObjectsBinding(
d_schDbID
d_layDbID
=> t / nil
Description
Adds one or more objects to an existing binding. If no binding exists, a new binding is created. The specified objects must all be leaf-level instances. On the layout side, a leaf instance is an instance in the top level. On the schematic side, a leaf instance is the level at which the CPH stops such that INV1/P0 instance can bind to INV1|P0, but INV1 instance cannot bind to INV1|P0. For transparent instances, such as INV1, you can use INV1/N0 to add a binding to the nmos inside.
Arguments
Value Returned
Examples
I1=dbCreateInstByMasterName(schCellViewID"testcase" "inv" "symbol" "I1" '(-1.375 1.9375) "R0")
bndAddObjectsBinding(I1 dbFindAnyInstByName(layCellViewID"I0.1|I2(1)"))
t
Creates a new schematic instance called I1 and binds it to layout instance I0.1|I2(1), which is already bound.
bndAddObjectsBinding(dbFindAnyInstByName(schCellViewID"I0")
dbFindAnyInstByName(layCV "I0.1|I2(1)"))
*Error* bndAddObjectsBinding: (BND-3026): Cannot add binding to instance 'I0' because it is not a leaf. Binding can only be set between leaf objects in the schematic and layout objects.
Attempts to create a binding between schematic instance I0 and layout instance I0.1|I2(1), but fails because I0 is not a leaf instance.
Return to top