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

pcUserGenerateInstance

pcUserGenerateInstance( 
d_inst 
t_masterTag 
p_port 
) 
=> t / nil

Description

A user-defined procedure called by the compiler before it processes any instances in a master Pcell. The procedure is normally used to suppress instance generation or to modify instances.

Arguments

d_inst

Database ID of instance.

t_masterTag

Name for the master Pcell that can be used in the generated SKILL code.

p_port

Port to which the output code is generated.

Value Returned

t

Compiler does not generate the code to reproduce the instance in the submaster Pcell.

nil

Compiler generates the code to reproduce the instance in the submaster Pcell as if the procedure were not called.

Examples

procedure( pcUserGenerateInstance( inst master port )
if( inst~>name == \"userSpecial\" t nil)
)

Suppresses code generation for an instance named userSpecial.


Return to top
 ⠀
X