pcDefineRepeat
pcDefineRepeat(
d_cvId
l_shapes
l_namelist
g_stepX
g_stepY
g_repeatX
g_repeatY
g_stretchX
g_stretchY
g_adjustX
g_adjustY
t_direction
)
=> d_repeatId
Description
Defines a repetition parameter to be applied to specified objects. Objects can be repeated in the X direction, Y direction, or both. If the value for the repetition direction, t_direction, is horizontal and vertical, the pcDefineRepeat function creates a two-dimensional array.
Arguments
|
d_cvId
|
The database ID of the cellview in which the parameter applies.
|
|
l_shapes
|
List of the shapes replicated.
|
|
l_namelist
|
List of the symbols referenced in the step or repeat expressions. These become parameters of the Pcell.
|
|
g_stepX
|
SKILL expression specifying stepping distance in the horizontal direction.
|
|
g_stepY
|
SKILL expression specifying stepping distance in the vertical direction.
|
|
g_repeatX
|
SKILL expression specifying the number of times objects are repeated in the horizontal direction.
|
|
g_repeatY
|
SKILL expression specifying the number of times objects are repeated in the vertical direction.
|
|
g_stretchX
|
Name of the vertical, dependent stretch control line associated with this repetition.
|
|
g_stretchY
|
Name of the horizontal, dependent stretch control line associated with this repetition.
|
|
g_adjustX
|
SKILL expression specifying the adjustment from the reference dimension to be applied to the vertical, dependent stretch control line.
|
|
g_adjustY
|
SKILL expression specifying adjustment from the reference dimension to be applied to the horizontal, dependent stretch control line.
|
|
t_direction
|
Direction of repetition.
Valid Values: horizontal, vertical, horizontal and vertical
|
Value Returned
|
d_repeatId
|
Group ID used to store details of the repetition.
|
Examples
Defines a horizontal repetition in cellview cv affecting the objects listed in figs. The horizontal stepping distance is cellPitch. The number of horizontal repetitions is numGates-1.
This example declares numGates and cellPitch as parameters of the Pcell. It also names gateStretch as a dependent stretch control line for the repetition, with an adjustment from the reference dimension defined by the expression pcFix(pcRepeat - 1) * pcStep.
Return to top