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

pcDefineParamLayer

pcDefineParamLayer(
d_cvId
l_shapes
g_layerExpr
l_namelist
[ g_purposeExpr ]
) 
=> d_paramLayerId

Description

Specifies that a set of shapes has its layer and purpose determined by a parameter definition in the cellview. The selection filter prevents you from selecting instances or stretch control lines.

Arguments

d_cvId

The database ID of the cellview in which the parameter applies.

l_shapes

List of shapes in d_cvId that take their layer from a parameter of the cell.

g_layerExpr

SKILL expression for the layer to which the specified shapes belong. This expression evaluates to a string that must be a valid layer name.

l_namelist

List of symbols referenced in g_layerExpr. These become parameters of the cell.

g_purposeExpr

SKILL expression for the layer purpose to which the specified shapes belong. This expression evaluates to a string that must be a valid layer purpose.

Value Returned

d_paramLayerId

Group ID used to record the details of the layer parameter.

Examples

diffLayerParam =
pcDefineParamLayer(geGetEditCellView(w=getCurrentWindow( ))
geGetSelSet(w) 'diffLayer list("nDiff") list('diffLayer))

Causes the layer of the set of selected shapes to be determined by the value of the parameter diffLayer. It specifies nDiff as the default value for diffLayer and declares diffLayer as a parameter of the cell.


Return to top
 ⠀
X