gpeCreateTrunkEntries
gpeCreateTrunkEntries(
[ ?netNames lt_netNames ]
[ ?offset f_offset ]
[ ?longOffsetSource1 t_longOffsetSource1 ]
[ ?longOffset1 f_longOffset1 ]
[ ?longOffsetSource2 t_longOffsetSource2 ]
[ ?longOffset2 f_longOffset2 ]
[ ?twigs lg_twigs ]
[ ?twigConstraints lg_twigConstraints ]
[ ?constraints lg_constraints ]
[ ?template l_template ]
[ ?matchGroup l_matchGroupID ]
[ ?verbose { t | nil } ]
)
=> l_trunkObjects / nil
Description
Creates a list of trunk entries, one for each netName. The properties defined by the arguments are applied to all trunks. To define different properties for each trunk, call the function in a for loop and set the arguments, as required, for each unique trunk.
Arguments
|
?netNames lt_netNames
|
|
|
Specifies a list of net names in the Modgen on which trunks must be created. One trunk is created per net.
|
|
?offset f_offset
|
|
|
Specifies a list of trunk offsets. The first value is the offset from the trunk to the anchor instance, and is measured from the center of the trunk to the anchor point. All other values are measured from center to center. If there are more nets than offset values, the last offset in the list is used for the remaining trunks.
|
|
?longOffsetSource1 t_longOffsetSource1
|
|
|
Specifies the reference from which trunk ends must be trimmed on the left or bottom side. Valid values are:
-
figGroupExtents: Extends the trunk from boundary to boundary (default). -
twigExtents: Trims the trunk at the first instance terminal to which its twigs are connect. -
instanceExtents: Trims the trunk at the first instance to which its twigs are connected. -
connExtents: Trims the trunk at the first instance terminal to which its twigs are connected or the first orthogonal trunk on the same net, whichever trims less. -
guardRing: Trims the trunk at the beginning of the guardRing.
|
|
?longOffset1 f_longOffset1
|
|
|
Specifies the distance (longitudinal offset) from the reference to trim the trunks on the left or bottom side.
|
|
?longOffsetSource2 t_longOffsetSource2
|
|
|
Specifies the reference from which trunk ends must be trimmed on the right or top side. Valid values are:
-
figGroupExtents: Extends the trunk from boundary to boundary (default). -
twigExtents: Trims the trunk at the last instance terminal to which its twigs are connect. -
instanceExtents: Trims the trunk at the last instance to which its twigs are connected. -
connExtents: Trims the trunk at the last instance terminal to which its twigs are connected or the last orthogonal trunk on the same net, whichever trims less. -
guardRing: Trims the trunk at the end of the guardRing.
|
|
?longOffset2 f_longOffset2
|
|
|
Sets the longitudinal offset on the top or right.
|
|
?twigs lg_twigs
|
|
|
Lists of twigs to be added to the trunk. This value is usually derived from gpeCreateTwigs, which makes it appear such that gpeSetTwigs does not exist.
Specify nil to clear all twigs.
|
|
?twigConstraints lg_twigConstraints
|
|
|
Specifies the constraints to set on the trunkTwig constraint group. These constraints apply to the twigs on the trunk.
|
|
?constraints lg_constraints
|
|
|
Specifies the constraints to set on the default constraint group. These constraints apply to the trunk.
|
|
?template l_template
|
|
|
Specifies the values for parameters that are not set by the function.
|
|
?matchGroup l_matchGroupID
|
|
|
Specifies the IDs of the matched groups to which these trunks must be added.
|
|
?verbose { t | nil }
|
|
|
Controls the display of warning messages.
|
Value Returned
|
l_trunkObjects
|
Returns a list of Modgen sandbox trunk objects for each net.
|
|
nil
|
The command was unsuccessful.
|
Example
Creates trunk entries based on the specified arguments:
trunks=gpeCreateTrunkEntries(?netNames list("vssa!" "vdda!") ?offset 0.4 ?longOffset1 0.2 ?longOffsetSource1 "twigExtents" ?longOffset2 0.3 ?longOffsetSource2 "instanceExtents")
Return to top