Product Documentation
Virtuoso ADE SKILL Reference
Product Version IC23.1, November 2023

ansCdlPrintSwitchPCellInstParam

ansCdlPrintSwitchPCellInstParam(
&_fp
l_paramsNameValuePairList
)

Description

Writes into the auCdl netlist the list of CDF parameters and values defined for switch Pcell instances.

Arguments

&_fp

File handle used to write the string in the netlist using the artFprintf SKILL function.

l_paramsNameValuePairList

  

List of pairs of parameter names and parameter values.

Value Returned

None

Examples

You can use anCdlPrintSwitchPCellInstParam to print the parameter names and values as needed. The following example prints the value of the parameter metal in double quotes:

procedure(anCdlPrintSwitchPCellInstParam( fp pairList )
  let( ( paramName )
    foreach( pair pairList
      paramName = car(pair)
      if( paramName == "metal" then
        artFprintf( fp "%s=\"%s\" " paramName artMakeString(cadr(pair)) )
      else
        artFprintf( fp "%s=%s " paramName artMakeString(cadr(pair)) )
      ) 
    )  
  )       
)

Return to top
 ⠀
X