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

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

S_inst

Database ID of the current instance being printed in the netlist.

S_master

Database ID of the switch master of the current instance being printed in the netlist.

S_parent

Database ID of the cell for the current instance being printed in the netlist.

Value Returned

l_segment

Number of segments for the instance and the connection type (series, parallel, or user defined) between segments.

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

ansCdlGetMultiplicity

ansCdlGetSegmentConnections


Return to top
 ⠀
X