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

pcUserInitRepeat

pcUserInitRepeat( 
l_stepX 
l_stepY
l_repeatX
l_repeatY 
p_port 
) 
=> t / nil

Description

A user-defined procedure called by the compiler before it processes any repetitions. The procedure is normally used to generate code to set the values of variables for repetition parameters.

Arguments

l_stepX

SKILL list for the expression governing the X-stepping distance of the repetition.

l_stepY

SKILL list for the expression governing the Y-stepping distance of the repetition.

l_repeatX

SKILL list for the expression governing the number of repetitions in the X direction.

l_repeatY

SKILL list for the expression governing the number of repetitions in the Y direction.

p_port

Port to which the output code is generated.

Value Returned

t / nil

Return value is not relevant.

Examples

procedure( pcUserInitRepeat( sX sY rX rY port )
    ; keep record of step distance and repetitions
    fprintf(port "pcUserStep = %L\n" sY)
    fprintf(port "pcUserRepeat = %L\n" rY)
)

Generates a call to SKILL procedures to record repetition parameters.


Return to top
 ⠀
X