CrosstalkFrequency#

class pyedb.misc.siw_feature_config.xtalk_scan.fd_xtalk_scan_config.CrosstalkFrequency(pedb)#

SIwave frequency domain crosstalk configuration handler.

This class manages frequency domain crosstalk scanning configuration including transmission line segment length, frequency, and net-specific crosstalk thresholds.

Parameters:
pedbobject

PyEDB instance.

Examples

>>> from pyedb import Edb
>>> edb = Edb("path/to/aedb")
>>> xtalk_freq = CrosstalkFrequency(edb)
>>> xtalk_freq.min_transmission_line_segment_length = "0.5mm"
>>> xtalk_freq.frequency = "5e9Hz"
>>> xtalk_freq.add_single_ended_net("USB_DP", next_warning_threshold=3.0, fext_warning_threshold=2.0)

Overview#

extend_xml

Write class XML section.

add_single_ended_net

Add single ended net to frequency domain crosstalk configuration.

Import detail#

from pyedb.misc.siw_feature_config.xtalk_scan.fd_xtalk_scan_config import CrosstalkFrequency

Attribute detail#

CrosstalkFrequency.min_transmission_line_segment_length: str = '0.25mm'#
CrosstalkFrequency.frequency: str = '2e9Hz'#
CrosstalkFrequency.nets: dict[str, pyedb.misc.siw_feature_config.xtalk_scan.net.SingleEndedNet]#

Method detail#

CrosstalkFrequency.extend_xml(parent) → None#

Write class XML section.

Parameters:
parentxml.etree.ElementTree.Element

Parent XML element to extend.

CrosstalkFrequency.add_single_ended_net(name: str, next_warning_threshold: float | str = 5.0, next_violation_threshold: float | str = 10.0, fext_warning_threshold_warning: float | str = 5.0, fext_violation_threshold: float | str = 5.0) → bool#

Add single ended net to frequency domain crosstalk configuration.

Parameters:
namestr

Net name.

next_warning_thresholdfloat or str, optional

Near end crosstalk warning threshold value in dB. The default is 5.0.

next_violation_thresholdfloat or str, optional

Near end crosstalk violation threshold value in dB. The default is 10.0.

fext_warning_threshold_warningfloat or str, optional

Far end crosstalk warning threshold value in dB. The default is 5.0.

fext_violation_thresholdfloat or str, optional

Far end crosstalk violation threshold value in dB. The default is 5.0.

Returns:
bool

True if the net was added successfully, False otherwise.

Examples

>>> xtalk_freq = CrosstalkFrequency(pedb)
>>> xtalk_freq.add_single_ended_net("USB_DP", next_warning_threshold=3.0, fext_warning_threshold=2.0)
True