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

pcUserGeneratePin

pcUserGeneratePin( 
d_pin 
p_port 
) 
=> t / nil

Description

A user-defined procedure called by the compiler before it processes pins on any terminals in the master Pcell. The procedure is normally used to suppress pin generation or to modify pins.

Arguments

d_pin

Database ID of pin on Pcell.

p_port

Port to which output code is generated.

Value Returned

t

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

nil

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

Examples

procedure( pcUserGeneratePin( pin port )
    if( pin~>term~>name == \"userSpecial\" t nil )
)

Suppresses code generation for the pin if the terminal is called userSpecial.


Return to top
 ⠀
X