DiffPairLengthMatch#
- class pyedb.workflows.drc.drc.DiffPairLengthMatch(/, **data: Any)#
Bases:
pydantic.BaseModelLength matching constraint for differential pairs.
This rule validates that the length difference between positive and negative traces in differential pairs stays within tolerance.
- Attributes:
Examples
>>> pair1 = DiffPair(positive="USB_DP", negative="USB_DN") >>> rule = DiffPairLengthMatch(name="usb_match", tolerance="0.1mm", pairs=[pair1]) >>> rule.tolerance '0.1mm'
Overview#
Import detail#
from pyedb.workflows.drc.drc import DiffPairLengthMatch