audit_find_unmatched_ports
Detect schematic nets with port-direction mismatches, such as multiple output drivers or inputs without a driver, across compiled sheets and multichannel designs.
Instructions
Find schematic nets with port-direction mismatches across sheets.
Catches the two cases that matter most:
multi_output: a net has MORE THAN ONE Output port. Two drivers fighting for the same net: almost always a wiring error or copy-paste mistake.
no_driver: a net has Input ports but ZERO Output (or Bidirectional) ports anywhere in the project. Orphan signal: something is listening but nothing is talking.
Walks compiled docs so multichannel designs are covered. Ports are grouped by their flattened net name, so net-label renames keep ports correctly clustered.
Returns:
Dict with:
- checked: total port objects inspected
- violations: net count with at least one issue
- items: per-net {net, issue, output_count, input_count}. issue is multi_output or
no_driver.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||