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

pcUserAdjustParameters

pcUserAdjustParameters( 
p_port 
) 
=> t / nil

Description

A user-defined procedure called by the compiler before it processes any objects. The procedure is normally used to generate code to transform user-specified parameter values, such as to snap them to an even value. Parameters can then be referenced as variables in the SKILL code that is generated.

Arguments

p_port

Port to which the output code is generated.

Value Returned

t | nil

Return value is not relevant.

Examples

procedure( pcUserAdjustParameters( port )
; stretch implemented by 2 stretch control lines ⇒
divide parameter value by 2
fprintf(port "ch_width = ch_width/2\n")
)

Generates a call to a SKILL procedure to divide the ch_width parameter value by 2.


Return to top
 ⠀
X