check#

Drc.check(rules: Rules) List[Dict[str, Any]]#

Run all rules and return a list of violations.

Rules are dispatched to the appropriate internal handler (_rule_*) automatically. The method is thread-safe and re-entrant; successive calls overwrite previous results.

Parameters:
rulesRules

Validated rule container.

Returns:
list[dict]

Each dictionary describes a single violation and contains at minimum the keys:

  • rule – rule type (minLineWidth, minClearance, …)

  • limit_um – limit value in micrometres

  • Additional keys are rule-specific (layer, net1, primitive, …)