ChecksResult

Result of running design checks.

Returned by run_checks(). Contains connectivity and bend radius violations along with summary statistics. Use the passed attribute for a quick pass/fail check.

result = run_checks(cell, config=config)
if result.passed:
    print(f"All checks passed ({result.ports_checked} ports, {result.connections_found} connections)")
else:
    print(f"Found {len(result.violations)} violations")
    for v in result.violations:
        print(f"  {v.message}")

Attributes

attributepassedbool

True if no violations were found.

attributeviolationslist[CheckViolation]

List of all check violations found.

attributeports_checkedint

Number of ports checked during the run.

attributeconnections_foundint

Number of valid port-to-port connections found.

attributebends_checkedint

Number of bends checked against the minimum radius.

attributeelapsed_msfloat

Elapsed time in milliseconds.

On this page