ansCdlGetSegmentInfo
ansCdlGetSegmentInfo(S_inst S_master S_parent) =>l_segment
Description
This function is used to customize the auCdl netlist when the ansCdlHnlPrintInst function is specified as a netlist procedure in the CDF for the device. It returns the number of segments for an instance and the connection type (series, parallel, or user defined connection type name) between the segments. Define this function as a procedure in the .simrc file.
Arguments
Value Returned
|
Number of segments for the instance and the connection type ( |
Examples
procedure( ansCdlGetSegmentInfo( inst master parent) prog( (val type )
val = ansCdlGetSimPropValue( 'segments )
when( val
when( stringp(val) val = atoi( val) )
when( numberp(val) val = fix(val) )
)
unless( val return() )
type = ansCdlGetSimPropValue( 'connection )
when( type && symbolp( type)
type = symbolToString( type ) )
return( list( val type))
)
Related Topics
Return to top