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

bndRegRemoveDeviceGetSurvivingNet

bndRegRemoveDeviceGetSurvivingNet(
S_function
)
=> t / nil

Description

Registers a user-defined SKILL function that takes a list of net IDs and returns the ID of the single net that survives when devices are removed during layout generation.

Arguments

S_function

Name of the user-defined SKILL function that is registered by bndRegRemoveDeviceGetSurvivingNet.

Value Returned

t

The user-defined SKILL function was registered.

nil

The user-defined SKILL function was not registered.

Example

Registers the user-defined SKILL function before launching XL and chooses the surviving net alphabetically.

procedure( sortName( i1 i2 )
   alphaNumCmp(i1~>name i2~>name) <= 0
)
procedure(chooseNet(nets)
    let((net)
        net = car(sort(nets 'sortName))
        net
    )
)
bndRegRemoveDeviceGetSurvivingNet('chooseNet)

Return to top
 ⠀
X