Product Documentation
Virtuoso Layout Suite SKILL Reference
Product Version IC23.1, November 2023

bndSetInstsBindingByName

bndSetInstsBindingByName(
d_schCellViewID
t_schInstName
d_layCellViewID
t_layInstName
)
=> t / nil

Description

Sets a binding between specified schematic and layout instances. Any existing bindings are removed and a new one created. The specified instances must all be leaf instances.

Arguments

d_schCellViewID

  

Database ID of the top-level schematic cellview containing the schematic instance to be bound.

t_schInstName

  

Name of the schematic instance to be bound.

d_layCellViewID

  

Database ID of the layout cellview containing the layout instance to be bound.

t_layInstName

  

Name of the layout instance to be bound.

Value Returned

t

The binding was created.

nil

The binding was not created.

Additional Information

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.

Example

bndSetInstsBindingByName(schCellViewID "I1" layCellViewID "I145")
t

Sets a binding between schematic instance I1 and layout instance I145 in the specified cellviews.

bndSetInstsBindingByName(schCellViewID "I0" layCellViewID "I145")
*Error* bndSetInstsBindingByName: (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 set a binding between schematic instance I0 and layout instance I145, but fails because I0 is not a leaf instance.

bndSetInstsBindingByName(schCellViewID "I0/I2<0>" layCellViewID "I145")
*Error* bndSetInstsBindingByName: (BND-3026): Cannot add binding to instance ’I2<0>’ because it is not a leaf. Binding can only be set between leaf objects in the schematic and layout objects.

Attempts to set a binding between schematic instance I0/I2<0> and layout instance I145 but fails because I0/I2<0> is not a leaf instance.

Related Topics

leaf instances


Return to top
 ⠀
X