WarningEntry#

class pyedb.workflows.utilities.siwave_log_parser.WarningEntry#

Single warning message from the simulation log.

Attributes:
timestampdatetime

When the warning occurred.

categorystr

Warning category: 'SHORT' for electrical shorts or 'OTHER' for other warnings.

net1str

First net involved (for SHORT warnings).

net2str

Second net involved (for SHORT warnings).

layerstr

Layer name where the issue occurred.

xfloat

X-coordinate in millimeters.

yfloat

Y-coordinate in millimeters.

messagestr

Complete warning message text.

Examples

>>> from datetime import datetime
>>> warning = WarningEntry(
...     timestamp=datetime(2025, 11, 10, 9, 15, 30),
...     category="SHORT",
...     net1="VCC",
...     net2="GND",
...     layer="TOP",
...     x=12.5,
...     y=34.8,
...     message="Nets are electrically shorted",
... )
>>> warning.category
'SHORT'

Overview#

Import detail#

from pyedb.workflows.utilities.siwave_log_parser import WarningEntry

Attribute detail#

WarningEntry.timestamp: datetime.datetime#
WarningEntry.category: str#
WarningEntry.net1: str#
WarningEntry.net2: str#
WarningEntry.layer: str#
WarningEntry.x: float#
WarningEntry.y: float#
WarningEntry.message: str#