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

pcDefineParamPath

pcDefineParamPath(
d_pathId
S_param
g_margin
g_width
n_defaultWidth
t_snap
l_namelist
) 
=> d_paramShapeId

Description

Defines a path that has its vertices determined by a parameter of the cell. When you place the Pcell, you enter a coordinate string that is used as the vertices of the parameterized path. You can use this function more than once in a cellview if all paths have the same vertices.

Arguments

d_pathId

Database ID of a path that has its vertices determined by a parameter of the cell.

S_param

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

g_margin

SKILL expression for the margin by which the path is offset from the coordinate list defined by parameter.

g_width

SKILL expression for the width of the path.

n_defaultWidth

Value to use for the width if width evaluates to a nonnumerical value.

t_snap

Snap used by the editor when digitizing path vertices to place an instance of this cell.

Valid Values: orthogonal, anyAngle, diagonal, L90

l_namelist

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

Value Returned

d_paramShapeId

Group ID used to record details of the parameterized paths.

Examples

pcDefineParamPath( path 'coords 2 'gateWidth 1-5 "orthogonal" list( 'gateWidth ) )

Defines path as a parameterized path that takes its vertices from the value of the parameter coords offset by 2, with a width equal to the value of the gateWidth parameter or 1–5 if gateWidth evaluates to a nonnumerical value. It tells the editor to use orthogonal snap when entering vertices for the path and declares gateWidth as a parameter of the cell.


Return to top
 ⠀
X