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
attributepassedboolTrue if no violations were found.
attributeviolationslist[CheckViolation]List of all check violations found.
attributeports_checkedintNumber of ports checked during the run.
attributeconnections_foundintNumber of valid port-to-port connections found.
attributebends_checkedintNumber of bends checked against the minimum radius.
attributeelapsed_msfloatElapsed time in milliseconds.