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

attributepassedbool

True if no error-severity violations were found. Warnings remain available in violations but do not fail the run.

attributecompletebool

True if hierarchy traversal completed and every discovered port, width, bend, and required route-annotation entry was checkable.

attributeerror_countint

Number of error-severity violations.

attributewarning_countint

Number of warning-severity violations.

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.

attributeconnectivity_nodesint

Number of spatial connectivity nodes checked after hierarchical port promotion.

attributeports_uncheckableint

Number of ports or port widths that could not be transformed or checked.

attributehierarchy_issuesint

Number of missing references or hierarchy cycles encountered.

attributebends_checkedint

Number of bends checked against the minimum radius.

attributebends_uncheckableint

Number of annotated bends that could not be checked safely.

attributeroute_annotation_cells_checkedint

Number of cell placements with explicit route-annotation entries.

attributeroute_annotation_cells_missingint

Number of local-geometry cell placements missing required route annotations.

attributeelapsed_msfloat

Elapsed time in milliseconds.

On this page