Skip to content

SHORT-12 Differential pair with P tied to N

Severity Status Implementation
error runs in better_erc easy, depends on netlist

Data it needs: graph.

Looks at. The netlist (diff pair names or pin roles).

What it catches. The positive and negative halves of a differential pair on the same net: a _P and _N label pair where both ends were labelled _P, a bus entry that took the wrong member, or a part's D+ and D− pins on one net.

Why it matters. A shorted pair carries no differential signal at all: USB does not enumerate, Ethernet has no link, LVDS outputs drive into each other. It is easy to miss because each pair looks complete in the drawing, two lines going from one part to the other.

Example. USB USB_D_P and USB_D_N from a connector to the MCU, where the label on the MCU side was copied and both read USB_D_P: D+ and D− of the MCU on one net, D− of the connector a one-pin net (WIRE-1).

How to check. Pins whose names mark the two halves of a pair (D+/D−, _P/_N, +/− on transceivers) on one net; nets named as one half that reach both halves' pins.

Fix. Relabel the pair.

References. Altium ERC "Differential Pair Net Connection Polarity Inversed"; catalogue HS-10 (P and N swapped).

Test schematics

Each schematic below is in test_schematics/sources. The block under it is what berc check --only SHORT-12 reports on it.

short-12_pair_halves_tied

The test schematic short-12_pair_halves_tied The test schematic short-12_pair_halves_tied

  error      SHORT-12 #e60  /ETH_TX_N: labels ETH_TX_P and ETH_TX_N of both halves of one pair name one net
                            net /ETH_TX_N
                            fix: relabel the pair
  error      SHORT-12 #03r  U1: USB_DP and USB_DM of one differential pair are both on /USB_D_P
                            net /USB_D_P, part U1, pin U1.1, pin U1.2
                            fix: relabel the pair: one of the two labels was copied without changing its half