Product Documentation
Virtuoso Parameterized Cell SKILL Reference
Product Version IC23.1, August 2023

pcDefineParamRect

pcDefineParamRect(
d_rectangleId
S_param
g_margin
l_namelist
) 
=> d_paramShapeId

Description

Defines a rectangle that has its vertices determined by a parameter of the cell. When you place the Pcell, you enter two coordinates that are used as the vertices of the parameterized rectangle. You can use this function more than once in a cellview.

Arguments

d_rectangleId

The database ID of the rectangle that has its vertices determined by a parameter of the cell.

S_param

Name of the parameter controlling the vertices of the rectangle. By default, this parameter is coords.

g_margin

SKILL expression for the amount to enlarge or shrink the vertices of the rectangle as compared to the coordinate list in the parameter.

l_namelist

List of symbols used in the g_margin SKILL expression. These become parameters of the Pcell.

Value Returned

d_paramShapeId

Group ID used to record details of the parameterized rectangles.

Examples

pcDefineParamRect(rect 'coords '(-margin) list('margin))

Defines rect as a parameterized rectangle that takes its vertices from the value of the parameter coords, reduced by the value of the margin parameter. It also declares margin as a parameter of the cell.


Return to top
 ⠀
X