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

ansCdlPrintModelName

ansCdlPrintModelName(
&_fp 
g_isAPrimitive 
g_definedPropVal 
g_modelPropInstVal 
g_componentPropInstVal 
g_cdfModelName 
g_cdfComponentName
)

Description

Customizes the order in which auCdl looks for model names for primitives and the format in which the model information is written in the netlist.

Arguments

&_fp

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

g_isAPrimitive

Whether this is an instance of a leaf-level device(primitive).

g_definedPropVal

Value of the instance property defined using auCdlHnlInstModelPropName parameter in the .simrc file.

g_modelPropInstVal

Value of the 'model property on the instance.

g_componentPropInstVal

Value of the 'componentName property on the instance.

g_cdfModelName

Value of the 'modelName parameter in the device CDF.

g_cdfComponentName

Value of the 'componentName parameter in the device CDF.

Value Returned

None

Examples

procedure( ansCdlPrintModelName(fp isAPrimitive definedPropVal
            modelPropInstVal
componentPropInstVal
cdfModelName
cdfComponentName
)
when( isAPrimitive
let( (model)
                model = nil
       if( definedPropVal 
model = definedPropVal
)
if( !model && modelPropInstVal
model = definedPropVal
)
if( !model && cdfModelName
model = cdfModelName
)
if( !model && componentPropInstVal
model = componentPropInstVal
)
if( !model && cdfComponentName
model = cdfComponentName
)
artFprintf(fp "model=%s " artMakeString( model ) )
)
))


Return to top
 ⠀
X