ansCdlGetMultiplicity
ansCdlGetMultiplicity(S_inst S_master S_parent) =>n_multiplicityFactor
Description
Controls how multiplicity (converting an instance into multiple instances connected in parallel) is handled for an instance in the design when the ansCdlHnlPrintInst function is specified as a netlist procedure in the CDF for the master of the instance.
You can specify that an instance should be treated as n instances connected in parallel by specifying n as the value of the m or M property on the instance. For example, you can specify that an instance be treated as five instances connected in parallel by specifying 5 as the value of the m or M property on the instance. By default the ansCdlHnlPrintInst netlist procedure does not give special treatment to the m or M property on an instance.
If you want the ansCdlHnlPrintInst netlist procedure to support multiplicity on instances using the m or M property, do one of the following:
-
Define the
ansCdlGetMultiplicityprocedure in your.simrcfile. -
Define
ansCdlGetMultiplicity_<LIBNAME>inlibInit.ilfile of the device library when thelibSpecificDevicePrintflag is set in deviceinstParameters.
Arguments
Value Returned
Examples
procedure( ansCdlGetMultiplicity( inst master parent ) ansCdlGetSimPropValue( 'm ) )
Related Topics
Return to top