route_check
Measure routed length, skew, coupling, and layer changes for differential pairs on a KiCad board to check against interface limits.
Instructions
Measure every differential pair on a board: the routed length of each half, the skew between them against the interface's limit (Ethernet and MIPI 0.15 mm, PCIe and USB 3.0 0.1 mm, USB 2.0 0.15 mm by default, from the Compute Module 5 datasheet), the share of the pair that runs coupled at the net class's gap, width and gap deviations, and layer changes. Pairs are found by name (X_P/X_N, X_DP/X_DN, X+/X-); unrouted pairs are listed as such.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| board_path | Yes | A .kicad_pcb file, absolute or relative to the workspace. | |
| project_path | No | The .kicad_pro with the net classes; default: next to the board. | |
| skew_limit_mm | No | Override the per-interface intra-pair skew limit for every pair. | |
| via_length_mm | No | Length added per via when measuring a half; default 1.6 mm, the board thickness. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | No | ||
| pairs | Yes | ||
| summary | Yes | ||
| verdict | Yes | ||
| unpaired | No | Nets that look like half a pair but have no mate. | |
| board_path | Yes | ||
| project_path | No |