DRCResults
DRCResults( violations_by_category: dict[ str, photonforge.verification.DRCViolation ], log: str = '', exit_code: int = 0, cells: dict[str, photonforge.verification.DRCCell] = <factory>, top_cell: str | None = None,) -> NoneResults of a DRC run, from any engine.
Methods
Section titled “Methods”| Method | Description |
|---|---|
in_top_cell | The marker with its coordinates moved into the top cell through the example |
placement | Placement of a cell in the top cell, composed from the first reference of each |
in_top_cell
Section titled “in_top_cell”in_top_cell( self, marker: photonforge.verification.DRCMarker) -> photonforge.verification.DRCMarkerThe marker with its coordinates moved into the top cell through the example placement of its cell. A cell placed several times is reported once, so the marker lands at that example placement only.
placement
Section titled “placement”placement(self, cell: str) -> photonforge.verification.PlacementPlacement of a cell in the top cell, composed from the first reference of each cell on the way up, as KLayout’s marker browser does. Both engines place each cell directly in the top cell.
Properties
Section titled “Properties”| Property | Description |
|---|---|
categories | |
is_clean | |
violated_cells | |
violation_counts | |
violations_by_cell |
categories
Section titled “categories”No description available.
is_clean
Section titled “is_clean”No description available.
violated_cells
Section titled “violated_cells”No description available.
violation_counts
Section titled “violation_counts”No description available.
violations_by_cell
Section titled “violations_by_cell”No description available.
Attributes
Section titled “Attributes”| Attribute | Description |
|---|---|
exit_code | int([x]) -> integer |
log | str(object=”) -> str |
top_cell | The type of the None singleton. |
exit_code
Section titled “exit_code”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)4str(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’.
top_cell
Section titled “top_cell”The type of the None singleton.