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
|
The expression you want the system to evaluate when the Pcell containing the expression is evaluated. |
Value Returned
|
The value that resulted from evaluating the expression. If an error occurs, look in the CIW or at the |
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