From 3b67350d0478af31d3d8d1edbd3268a819a20773 Mon Sep 17 00:00:00 2001 From: techmannih <125847751+techmannih@users.noreply.github.com> Date: Tue, 10 Nov 2026 17:37:59 +0530 Subject: [PATCH] Show how to route a four-pad differential pair in named sections --- docs/elements/differential-pair.mdx | 36 +++++++++++++++++++++++++++-- 1 file changed, 34 insertions(+), 2 deletions(-) diff --git a/docs/elements/differential-pair.mdx b/docs/elements/differential-pair.mdx index 0ae05d50..68fc61dc 100644 --- a/docs/elements/differential-pair.mdx +++ b/docs/elements/differential-pair.mdx @@ -48,8 +48,8 @@ signal arrive at different times. form the pair and how much their routed lengths may differ. It does not create electrical connections; add those with [``](./trace.mdx). -This element currently constrains length matching only. It does not configure -differential impedance, trace width, pair spacing, or parallel routing. +Use `pcbTraceGap` to request the edge-to-edge copper spacing between the two +traces. The pad pitch can require a wider separation at the endpoints. ## Quick start with trace names @@ -98,6 +98,37 @@ to avoid an ambiguous match. In [phased autorouting](./autoroutingphase.mdx), the `routingPhaseIndex` prop assigns a `` to a phase. Both traces in a pair must use the same value. +## Route a pair through several pads + +Give each two-pad section a positive and negative trace name. The example +routes a connector through an ESD device and test points to an IC. Each +polarity keeps its electrical net across all three sections. Each phase routes +one pair and sees the copper from the preceding phase. + +export const usbFourPadExample = `export default () => ( + + + + + + + + + + + + + + + + + + + +)` + + + ## Properties | Property | Type | Description | @@ -106,3 +137,4 @@ assigns a `` to a phase. Both traces in a pair must use the same value. | `positiveConnection` | `string` | Exact positive trace name or port selector. | | `negativeConnection` | `string` | Exact negative trace name or port selector. | | `maxLengthSkew` | `number` | Maximum absolute difference between the routed lengths, in millimeters. Accepts any non-negative distance and defaults to `0.1` mm. | +| `pcbTraceGap` | `number \| string` | Requested copper edge-to-edge gap between the pair. A number is in millimeters. |