ChecksResult
Result of running design checks.
Import with from rosette.checks import ChecksResult.
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 and result.complete:
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 error-severity violations were found. Warnings remain available in
violations but do not fail the run.
attributecompleteboolTrue if hierarchy traversal completed and every discovered port, width, bend,
and required route-annotation entry was checkable.
attributeerror_countintNumber of error-severity violations.
attributewarning_countintNumber of warning-severity violations.
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.
attributeconnectivity_nodesintNumber of spatial connectivity nodes checked after hierarchical port promotion.
attributeports_uncheckableintNumber of ports or port widths that could not be transformed or checked.
attributehierarchy_issuesintNumber of missing references or hierarchy cycles encountered.
attributebends_checkedintNumber of bends checked against the minimum radius.
attributebends_uncheckableintNumber of annotated bends that could not be checked safely.
attributeroute_annotation_cells_checkedintNumber of cell placements with explicit route-annotation entries.
attributeroute_annotation_cells_missingintNumber of local-geometry cell placements missing required route annotations.
attributeelapsed_msfloatElapsed time in milliseconds.