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

pcTechFile

pcTechFile( 
g_expression 
)
=> g_result

Description

Evaluates an expression contained in a string. The Pcell compiler uses this function as an envelope around stretch expressions that access information from a technology file. This function prevents any symbols used in the technology file access expression from being defined as parameters of the Pcell.

Arguments

g_expression

The expression you want the system to evaluate when the Pcell containing the expression is evaluated.

Value Returned

g_result

The value that resulted from evaluating the expression. If an error occurs, look in the CIW or at the CDS.log file for a message about the error.

Examples

pcTechFile( llp~>minWidth )

The symbol minWidth is used only during evaluation of the expression; it is not treated as a Pcell parameter. Here llp is an internal variable, ~> is an operator, and minWidth is recognized by the system as a symbol.

If you did not use the pcTechFile function, the system would assume that minWidth is a Pcell parameter.

Related Topics

pcFix
pcRound
pcExprToString


Return to top
 ⠀
X