ansCdlPrintModelName
ansCdlPrintModelName(&_fp g_isAPrimitiveg_definedPropVal g_modelPropInstValg_componentPropInstValg_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
Value Returned
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