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 | None = None, use_pcie_icn: bool = False, compute_retries: int = 3) bool | float#
Compute the integrated crosstalk noise (ICN) in volts using Ansys SPISIM from S-parameter file.
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 isNone. 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_icnbool,
optional Whether to use
PCIEorCOMmethod to computeICN. The default isCOM.- 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 (“m”, “g”). 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)