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

gpeCreateTwigEntries

gpeCreateTwigEntries(
[ ?instTermEntries l_instTermEntries ]
[ ?constraints l_constraints ]
[ ?template l_template ]
[ ?verbose { t | nil } ]
)
=> g_twigObject / nil

Description

Creates a Modgen sandbox twig object, which specifies the instance terminals to make connections to and the constraints that define how the connections must be made. The twig objects can be added to trunk with the ?twigEntries parameter on gpeCreateTrunkEntries.

Arguments

?instTermEntries l_instTermEntries

List of DPLs that specify the instances with the instance terminals to which the twigs must connect. This is typically created from a call to gpeCreateInstTermEntries.

?constraints l_constraints

Lists the twig constraints to be set on the default constraint group. Each routing entry comprises a twig constraint name and the arguments for the constraint.

?template l_template

Specifies the parameters if they are otherwise unspecified. Here, it specifies the twig entry.

?verbose { t | nil }

Controls the display of warning messages.

Value Returned

g_twigObject

Returns the name of a Modgen sandbox twig object.

nil

The command was unsuccessful.

Example

In the following example, values for twigConstraints and iterm are first instantiated. These values are then passed as arguments in gpeCreateTwigEntries:

twigConstraints = list(
  list("validLayers" nil list("Metal1"))
  list("minWidth" list("Metal1") 0.14)
)
iterm = gpeCreateInstTermEntries(?deviceNames list("M1" "M2") ?instTermNames list("G" "D"))
twigEntry = gpeCreateTwigEntries(?instTermEntries list(iterm) ?constraints twigConstraints)

Return to top
 ⠀
X