ansCdlGetSegmentInstParams
ansCdlGetSegmentInstParams(S_inst l_propsList n_iterSeg n_iterMult n_numSegments n_multiplicityFactor t_segmentConnType) =>l_segment
Description
Customizes the auCdl netlist when the ansCdlHnlPrintInst function is specified as a netlist procedure in the CDF for the device.
It controls how values of parameters are printed on segments of an instance. auCdl calls this function with a list of property name and property value pairs for all those properties that are specified in device CDF simulation information instance parameters. Define this function as a procedure in the .simrc file.
Arguments
Value Returned
Examples
procedure( ansCdlGetSegmentInstParams( inst propsList iterSeg iterMult numSegments multiplicityFactor segmentConnType ) let((pairList value) foreach( pair propsList case( car(pair)
("l"
value = cadr(pair)
when( "series" == segmentConnType
when( stringp(value)
value = atoi(value) )
value = value/numSegments )
pairList = cons( list( "l" value) pairList )
)
("w"
value = cadr(pair )
when( "parallel" == segmentConnType
when( stringp(value)
value = atoi(value))
value = value/numSegments )
pairList = cons( list( "w" value ) pairList )
)
(t
pairList = cons( pair pairList )
)
)
)
pairList = reverse( pairList )
)
)
Related Topics
Return to top