pcUserSetTermNetName
pcUserSetTermNetName(d_pinFig p_port) =>t / nil
Description
A user-defined procedure called by the compiler before it processes any pins on any terminals that are part of a repetition group in the master Pcell. The procedure is normally used to customize the connectivity of replicated pins. SKILL code generated by this procedure should assign the net name to the SKILL variable pcTermNetName. This is the net name used in the code generated by the compiler to create terminals in the submaster Pcell. The SKILL variables pcIndexX and pcIndexY are available for incorporation into pcTermNetName if you need to make different nets for each different repeated pin.
Arguments
Value Returned
|
Compiler does not generate code to define the terminal net name in the submaster Pcell. |
|
|
Compiler generates code to name the terminal net in the submaster Pcell as if the procedure were not called. |
Examples
procedure( pcUserSetTermNetName( fig port )
if( fig~>pin~>term~>name == \"userSpecial\" then
fprintf( port "pcTermNetName = get_string( concat(
\"userSpecial\" pcIndexX ) ) \n" )
t
else ; let compiler generate net name
nil
)
)
Generates code to define a net name for the terminal.
Return to top