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

bndAddInstsBindingByName

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

Description

Adds a named instance to an existing binding. If no binding exists, a new one is created. The schematic and layout instances must both be leaf instances. You can also use bndSetInstsBindingByName() to add the first binding and then add additional bindings to the same source or target instance by using the bndAddInstBindingByName() SKILL function.

Arguments

d_schCellViewID

  

Database ID of the schematic cellview containing the schematic instance.

t_schInstName

  

Name of the schematic instance to be bound.

d_layCellViewID

  

Database ID of the layout cellview containing the layout instance.

t_layInstName

  

Name of the layout instance to be bound.

Value Returned

t

The binding was created.

nil

The binding was not created.

Example

bndAddInstBindingByName(scv cINV1/N0" lcv "INV1|N0")

Creates a binding between schematic instance INV1/N0 and layout instance INV1|N0.

bndAddInstsBindingByName(scv "NC<1>/N0" lcv "NC(1)|N0") 

Creates a binding between individual bit of schematic instances NC<0:3>.

bndSetInstsBindingByName(scv "P7" lcv "P7.1")

Attempts to create an initial binding between the schematic instance "P7" and the layout instance "P7.1" but issues a warning because the schematic instance has an mfactor=2 set, which requires an additional layout instance to be provided for binding.

*WARNING* (BND-2008): Binding for instance 'P7' expects 1 additional layout instances.

bndAddInstsBindingByName(scv "P7" lcv "P7.2")

Provides an additional layout instance to complete the binding.

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.

Related Topics

bndSetInstsBindingByName

leaf instances


Return to top
 ⠀
X