compute_icn#
- SpiSim.compute_icn(config_file: str | None = None, port_order: str = 'EVENODD', next_s4p: str | list | None = None, fext_s4p: str | list | None = None, bandwidth: float | str | None = None, use_pcie_icn: int | bool | str = False, compute_retries: int = 3) bool | float | list#
Compute integrated crosstalk noise (ICN) in volts using Ansys SPISIM from S-parameter files.
Warning
Do not execute this function with untrusted function argument, environment variables or pyaedt global settings. See the security guide for details.
- Parameters:
- config_file
str,optional Configuration file to use as a reference. The default is
None, in which case this parameter is ignored.- port_order
str,optional Whether to use “
EvenOdd” or “Incremental” numbering for S4P files. The default is"EVENODD". This parameter is ignored if there are more than four ports.- next_s4p
str,list,optional Near End
s4por list ofs4p. The default isNone.- fext_s4p
str,list,optional Far End
s4por list ofs4p. The default isNone.- use_pcie_icn
int, bool,str,optional ICN calculation standard to use. The default is
False, which uses"COM_CHNICN"and returns the"ICN"result. PassingTrueuses"PCIE_CCICN"and returns the"ccICN"result. Integer values map to0for"COM_CHNICN",1for"PCIE_CCICN", and2for"GENERIC_CCICN". String values can be"COM_CHNICN","PCIE_CCICN", or"GENERIC_CCICN"."GENERIC_CCICN"is a generic custom parameters approach supported in AEDT 2027 R1 and later. In order to customize parameters for"GENERIC_CCICN"user can provide a custom"config_file".- bandwidth
float,str,optional Application bandwidth in hertz (Hz), which is the inverse of one UI (unit interval). The value can be a float or a string with the unit (for example, “2GHz”). The default is
25e9.- compute_retries
int,optional Number of retries to compute ICN. The default is
3.
- config_file
- Returns:
Examples
>>> from ansys.aedt.core.visualization.post.spisim import SpiSim >>> fext_s4p = "fext_s4p.s4p" >>> next_s4p = "next_s4p.s4p" >>> spisim = SpiSim() >>> spisim.working_directory = test_tmp_dir >>> icn = spisim.compute_icn(port_order="EvenOdd", fext_s4p=fext_s4p, next_s4p=next_s4p, bandwidth=10e9)