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

rteGeomSize

rteGeomSize(
[ ?cv d_cvId ]
[ ?lpp1 g_lpp1 ]
[ ?outputLpp l_outputLpp ]
[ ?blockedLayer l_blockedLayer ]
[ ?size f_size ]
[ ?polygons g_polygons ]
[ ?region l_region ]
[ ?trimCorners g_trimCorners ]
[ ?fixEdgesToRegion g_fixEdgesToRegion ]
) ;
=> t / nil

Description

Performs an oversize or undersize shapes on a specific layer purpose.

This function is available only in Layout XL and higher tiers.

Arguments

?cv d_cvId

Database ID of the cellview. Defaults to the current cellview.

?lpp1 g_lpp1

Specifies the first layer purpose pair(s). Required.

See Specifying Input Layer Purposes for details.

?outputLpp l_outputLpp

Specifies the output layer and purpose for the generated shapes. Required.

You must specify both the layer name and the layer purpose as a list or string.

Examples:

list("metal1" "drawing")

"metal1 drawing"

?blockedLayer l_blockedLayer

Outputs blockages on the specified layer.

Note: the ?blockedLayer and ?outputLpp arguments are mutually exclusive.

?size f_size

Specifies the sizing amount in user units for shapes on the first layer purpose. Required.

?polygons g_polygons

Generates output shapes as polygons, rather than individual rectangles. Values are t or nil.

If set to t (true), the resulting shapes are polygons.

If set to nil (default), the resulting shapes are rectangles.

?region l_region

A list specifying the lower-left and upper-right coordinates of the region on which the function should operate.

If not specified, the entire design is included in the operation.

?trimCorners g_trimCorners

Specifies that corners be trimmed when shapes are resized.

Values are t to trim corners or nil (default) to preserve corners.

?fixEdgesToRegion g_fixEdgesToRegion

Keeps edges fixed to region if a negative size is specified.

Values are t (default if a region is specified) or nil (default is no region is specified).

Value Returned

t

The operation completed successfully.

nil

The operation did not complete successfully.

Examples

The following illustrates the ?trimCorners argument.

The following illustrates the ?fixEdgesToRegion argument.

The following example generates new shapes on the metal5/drawing layer purpose by oversizing shapes on the metal2/drawing layer purpose by 1.5 user units.

rteGeomSize(
?lpp1 list("metal2" "drawing")
?outputLpp list("metal5" "drawing")
?size 1.5
?region list(2486.75 2850.75 2635.22 2946.52)
)

In the following example, the layer purpose pair in argument ?lpp1 is specified as a string. This is allowed, as the argument contains only one layer. The example generates new shapes on the metal6/drawing layer purpose by undersizing shapes on the metal1/drawing layer purpose by -2.5 user units.

rteGeomSize(
?lpp1 "metal1 drawing"
?outputLpp list("metal6" "drawing")
?size -2.5
?region list(2486.75 2850.75 2635.22 2946.52)
?polygons t
?trimCorners t
?fixEdgesToRegion t
)

Related Topics

Space-based Router Functions


Return to top
 ⠀
X