Skip to content

LVSResults

LVSResults(
verdict: Literal['match', 'match_with_warnings', 'mismatch'],
comparisons: tuple[photonforge.verification.LVSComparison, ...],
layout: photonforge.verification.LVSNetlist,
schematic: photonforge.verification.LVSNetlist,
messages: tuple[photonforge.verification.LVSMessage, ...] = (),
extraction_messages: tuple[
photonforge.verification.LVSMessage, ...
] = (),
unit: float | None = 0.001,
log: str = '',
exit_code: int = 0,
) -> None

Results of an LVS run, from any engine.

KLayout gives both netlists in full. Calibre reports discrepancies, so its circuits hold only the objects they name, a placement is the lower-left vertex of a device’s seed shape, and unit is None.

MethodDescription
comparison

comparison(self, name: str) -> photonforge.verification.LVSComparison

No description available.

PropertyDescription
mismatchesCircuit pairs and pairs that did not match, including those without a known status.
top
warningsCircuit pairs and pairs that matched with a warning.

Circuit pairs and pairs that did not match, including those without a known status.

No description available.

Circuit pairs and pairs that matched with a warning.

AttributeDescription
exit_codeint([x]) -> integer
extraction_messagesBuilt-in immutable sequence.
logstr(object=”) -> str
messagesBuilt-in immutable sequence.
unitConvert a string or number to a floating-point number, if possible.

int([x]) -> integer int(x, base=10) -> integer

Convert a number or string to an integer, or return 0 if no arguments are given. If x is a number, return x.int(). For floating-point numbers, this truncates towards zero.

If x is not a number or if base is given, then x must be a string, bytes, or bytearray instance representing an integer literal in the given base. The literal can be preceded by ’+’ or ’-’ and be surrounded by whitespace. The base defaults to 10. Valid bases are 0 and 2-36. Base 0 means to interpret the base from the string as an integer iteral.

>>> int('0b100', base=0)
4

Built-in immutable sequence.

If no argument is given, the constructor returns an empty tuple. If iterable is specified the tuple is initialized from iterable’s items.

If the argument is a tuple, the return value is the same object.

str(object=”) -> str str(bytes_or_buffer[, encoding[, errors]]) -> str

Create a new string object from the given object. If encoding or errors is specified, then the object must expose a data buffer that will be decoded using the given encoding and error handler. Otherwise, returns the result of object.str() (if defined) or repr(object). encoding defaults to ‘utf-8’. errors defaults to ‘strict’.

Built-in immutable sequence.

If no argument is given, the constructor returns an empty tuple. If iterable is specified the tuple is initialized from iterable’s items.

If the argument is a tuple, the return value is the same object.

Convert a string or number to a floating-point number, if possible.