Declare a differential pair in DeepPCB so the engine routes the two nets together with matched length and a controlled gap.
A differential pair tells the engine that two nets travel together — matched in length, held at a fixed gap. Declare them for USB, HDMI, DDR, Ethernet, and anything else where the pair is the signal.
Cooper can review the board’s pairs and flag the ones worth correcting — see Review Differential Pairs.
Pair Two Nets in Board Setup
1
Open Differential Pairs
Click Setup at the top of the board editor, then Differential Pairs under Nets. The table lists every pair on the board with its First Net, Second Net and Gap (mm). The engine treats the two nets of a pair as one route with two conductors, rather than two routes that happen to be near each other.
The Differential Pairs tab: each pair with its two nets and gap.
2
Make a pair
Click New Differential Pair. In Add Differential Pair, choose the First Net and the Second Net — nets that are already in a pair are not offered — and set the Gap (mm) between them. The gap comes from the part you are routing to, not from preference.
Pairing NRF_ANT1 with NRF_ANT2 at a 0.2 mm gap — then Cancel, so nothing is added.
3
Apply
Click Apply to add the pair; Cancel throws it away. Applying a pair changes nothing on the board itself — it takes effect from the next run you start.
Pair Two Pins on the Board
Faster when you can see the pair in front of you:
Right-click one of the two pins.
Select Pair with pin. The board greys out, leaving the pins you can pair it with.
Click its partner. The pin’s details now show Paired with and the Gap.
Pair with pin is available on a pin whose nets already form a pair but whose pins are not matched yet.
Pairing U2-1 with U2-3, with the Differential Pairs highlight on — then discarded, so nothing is saved.
To exclude pins, or change which pins are paired with which, refine the pair at pin level in Board Setup.
Route a Pair Single-Ended
To undo a pairing and have the two nets routed independently:
Right-click a pin belonging to the pair.
Select Route Single-Ended.
Route Single-Ended on U2-6 — then discarded, so the pair is kept.
Both pin-level changes are pending edits: click Save (the disk icon) in the toolbar to keep them, or Discard to throw them away. See Undo, Save and Discard.
DeepPCB reads differential pairs already defined in your EDA tool, so most pairs arrive with the board — tag them there and this becomes a review step. See Prepare Board File.
Pairs carry more weight if the nets are also classified as HIGH_SPEED in Net Types.
⌘I
{"docsConfig":{"theme":"luma","$schema":"https://mintlify.com/docs.json","name":"DeepPCB","colors":{"primary":"#F4741B","light":"#eec9bc","dark":"#4fa1ab"},"logo":{"light":"https://mintcdn.com/deeppcb/xIB7FeV5NS4hPekI/images/deeppcb-logo-light.svg?fit=max\u0026auto=format\u0026n=xIB7FeV5NS4hPekI\u0026q=85\u0026s=a568305abe8cbb4a5a120118be6dcdcd","dark":"https://mintcdn.com/deeppcb/xIB7FeV5NS4hPekI/images/deeppcb-logo-dark.svg?fit=max\u0026auto=format\u0026n=xIB7FeV5NS4hPekI\u0026q=85\u0026s=0cddf133c0c6d9591902763256f86591"},"favicon":{"light":"https://mintcdn.com/deeppcb/X7Hy0HgSSYrG7K_B/images/favicon.ico?fit=max\u0026auto=format\u0026n=X7Hy0HgSSYrG7K_B\u0026q=85\u0026s=8a7c1d94595cb773ea29bfff4fcc8e4b","dark":"https://mintcdn.com/deeppcb/X7Hy0HgSSYrG7K_B/images/favicon.ico?fit=max\u0026auto=format\u0026n=X7Hy0HgSSYrG7K_B\u0026q=85\u0026s=8a7c1d94595cb773ea29bfff4fcc8e4b"},"navbar":{"links":[{"href":"mailto:support@deeppcb.ai","label":"Support"}],"primary":{"type":"button","label":"Open DeepPCB","href":"https://app.deeppcb.com"}},"footer":{"socials":{"x":"https://x.com/DeepPCB","linkedin":"https://www.linkedin.com/showcase/deeppcb"}},"fonts":{"family":"Geist"},"icons":{"library":"fontawesome"},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"deeppcb","hasAudioNarration":false,"actualSubdomain":"deeppcb","customDomains":["docs.deeppcb.ai"],"gitSource":{"type":"github","owner":"instadeepai","repo":"holocron","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"}},"buildId":"6b0d7c4487536013f75c0d2d","clientVersion":"0.0.4347","searchFilterCounts":[{"language":"default","tag":"Documentation","count":68},{"language":"default","tag":"Tutorials","count":39},{"language":"default","tag":"How to","count":39},{"language":"default","tag":"API Reference","count":23},{"language":"default","tag":"Get Started","count":14},{"language":"default","tag":"Cooper","count":14},{"language":"default","tag":"Boards","count":8},{"language":"default","tag":"Constraints \u0026 Rules","count":8},{"language":"default","tag":"Running a Board","count":7},{"language":"default","tag":"Introduction","count":6}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":true},"customCss":[]}
{"page":{"pagePath":"tutorials/how-to/differential-pairs","slug":"/tutorials/how-to/differential-pairs","pageMetadata":{"title":"Differential Pairs","description":"Declare a differential pair in DeepPCB so the engine routes the two nets together with matched length and a controlled gap.","href":"/tutorials/how-to/differential-pairs"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Declare a differential pair in DeepPCB so the engine routes the two nets together with matched length and a controlled gap.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,li:`li`,ol:`ol`,p:`p`,strong:`strong`,..._provideComponents(),...props.components},{Frame,Heading,Note,Step,Steps,Tip}=_components;if(!Frame)_missingMdxReference(`Frame`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!Step)_missingMdxReference(`Step`,true);if(!Steps)_missingMdxReference(`Steps`,true);if(!Tip)_missingMdxReference(`Tip`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`A differential pair tells the engine that two nets travel together — matched in length, held at a fixed gap. Declare them for USB, HDMI, DDR, Ethernet, and anything else where the pair is the signal.`}),`\n`,_jsx(Tip,{icon:`/images/cooper.png`,children:_jsxs(_components.p,{children:[`Cooper can review the board’s pairs and flag the ones worth correcting — see `,_jsx(_components.a,{href:`/tutorials/how-to/cooper/differential-pairs`,children:`Review Differential Pairs`}),`.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`pair-two-nets-in-board-setup`,children:`Pair Two Nets in Board Setup`}),`\n`,_jsxs(Steps,{children:[_jsxs(Step,{title:`Open Differential Pairs`,children:[_jsxs(_components.p,{children:[`Click `,_jsx(_components.strong,{children:`Setup`}),` at the top of the board editor, then `,_jsx(_components.strong,{children:`Differential Pairs`}),` under `,_jsx(_components.strong,{children:`Nets`}),`. The table lists every pair on the board with its `,_jsx(_components.strong,{children:`First Net`}),`, `,_jsx(_components.strong,{children:`Second Net`}),` and `,_jsx(_components.strong,{children:`Gap (mm)`}),`. The engine treats the two nets of a pair as one route with two conductors, rather than two routes that happen to be near each other.`]}),_jsxs(Frame,{caption:`The Differential Pairs tab: each pair with its two nets and gap.`,children:[_jsx(`video`,{autoPlay:true,muted:true,loop:true,playsInline:true,className:`mint-w-full mint-block dark:mint-hidden`,src:`https://mintcdn.com/deeppcb/X7Hy0HgSSYrG7K_B/images/how-to/diffpairs-table.mp4?fit=max\u0026auto=format\u0026n=X7Hy0HgSSYrG7K_B\u0026q=85\u0026s=915b36c20c8beb5264c1cb8f64dac758`,\"data-path\":`images/how-to/diffpairs-table.mp4`}),_jsx(`video`,{autoPlay:true,muted:true,loop:true,playsInline:true,className:`mint-w-full mint-hidden dark:mint-block`,src:`https://mintcdn.com/deeppcb/X7Hy0HgSSYrG7K_B/images/how-to/diffpairs-table-dark.mp4?fit=max\u0026auto=format\u0026n=X7Hy0HgSSYrG7K_B\u0026q=85\u0026s=a45d2e35fcd7580286e248fb29725b3e`,\"data-path\":`images/how-to/diffpairs-table-dark.mp4`})]})]}),_jsxs(Step,{title:`Make a pair`,children:[_jsxs(_components.p,{children:[`Click `,_jsx(_components.strong,{children:`New Differential Pair`}),`. In `,_jsx(_components.strong,{children:`Add Differential Pair`}),`, choose the `,_jsx(_components.strong,{children:`First Net`}),` and the `,_jsx(_components.strong,{children:`Second Net`}),` — nets that are already in a pair are not offered — and set the `,_jsx(_components.strong,{children:`Gap (mm)`}),` between them. The gap comes from the part you are routing to, not from preference.`]}),_jsxs(Frame,{caption:`Pairing NRF_ANT1 with NRF_ANT2 at a 0.2 mm gap — then Cancel, so nothing is added.`,children:[_jsx(`video`,{autoPlay:true,muted:true,loop:true,playsInline:true,className:`mint-w-full mint-block dark:mint-hidden`,src:`https://mintcdn.com/deeppcb/X7Hy0HgSSYrG7K_B/images/how-to/diffpairs-new.mp4?fit=max\u0026auto=format\u0026n=X7Hy0HgSSYrG7K_B\u0026q=85\u0026s=5ddb2865dcc4f53f26cca48114f7f424`,\"data-path\":`images/how-to/diffpairs-new.mp4`}),_jsx(`video`,{autoPlay:true,muted:true,loop:true,playsInline:true,className:`mint-w-full mint-hidden dark:mint-block`,src:`https://mintcdn.com/deeppcb/X7Hy0HgSSYrG7K_B/images/how-to/diffpairs-new-dark.mp4?fit=max\u0026auto=format\u0026n=X7Hy0HgSSYrG7K_B\u0026q=85\u0026s=2876ae67cfad324ef2d67f71dc3a6f5f`,\"data-path\":`images/how-to/diffpairs-new-dark.mp4`})]})]}),_jsx(Step,{title:`Apply`,children:_jsxs(_components.p,{children:[`Click `,_jsx(_components.strong,{children:`Apply`}),` to add the pair; `,_jsx(_components.strong,{children:`Cancel`}),` throws it away. Applying a pair changes nothing on the board itself — it takes effect from the next run you start.`]})})]}),`\n`,_jsx(Heading,{level:`2`,id:`pair-two-pins-on-the-board`,children:`Pair Two Pins on the Board`}),`\n`,_jsx(_components.p,{children:`Faster when you can see the pair in front of you:`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsx(_components.li,{children:`Right-click one of the two pins.`}),`\n`,_jsxs(_components.li,{children:[`Select `,_jsx(_components.strong,{children:`Pair with pin`}),`. The board greys out, leaving the pins you can pair it with.`]}),`\n`,_jsxs(_components.li,{children:[`Click its partner. The pin’s details now show `,_jsx(_components.strong,{children:`Paired with`}),` and the `,_jsx(_components.strong,{children:`Gap`}),`.`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Pair with pin`}),` is available on a pin whose nets already form a pair but whose pins are not matched yet.`]}),`\n`,_jsxs(Frame,{caption:`Pairing U2-1 with U2-3, with the Differential Pairs highlight on — then discarded, so nothing is saved.`,children:[_jsx(`video`,{autoPlay:true,muted:true,loop:true,playsInline:true,className:`mint-w-full mint-block dark:mint-hidden`,src:`https://mintcdn.com/deeppcb/X7Hy0HgSSYrG7K_B/images/how-to/diffpairs-pins.mp4?fit=max\u0026auto=format\u0026n=X7Hy0HgSSYrG7K_B\u0026q=85\u0026s=63670095babb366c12a40a9464af7419`,\"data-path\":`images/how-to/diffpairs-pins.mp4`}),_jsx(`video`,{autoPlay:true,muted:true,loop:true,playsInline:true,className:`mint-w-full mint-hidden dark:mint-block`,src:`https://mintcdn.com/deeppcb/X7Hy0HgSSYrG7K_B/images/how-to/diffpairs-pins-dark.mp4?fit=max\u0026auto=format\u0026n=X7Hy0HgSSYrG7K_B\u0026q=85\u0026s=db674dc7158d5180bea4c6a99e6e390d`,\"data-path\":`images/how-to/diffpairs-pins-dark.mp4`})]}),`\n`,_jsxs(_components.p,{children:[`To exclude pins, or change which pins are paired with which, refine the pair at pin level in `,_jsx(_components.a,{href:`/guides/board-setup#differential-pairs`,children:`Board Setup`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`route-a-pair-single-ended`,children:`Route a Pair Single-Ended`}),`\n`,_jsx(_components.p,{children:`To undo a pairing and have the two nets routed independently:`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsx(_components.li,{children:`Right-click a pin belonging to the pair.`}),`\n`,_jsxs(_components.li,{children:[`Select `,_jsx(_components.strong,{children:`Route Single-Ended`}),`.`]}),`\n`]}),`\n`,_jsxs(Frame,{caption:`Route Single-Ended on U2-6 — then discarded, so the pair is kept.`,children:[_jsx(`video`,{autoPlay:true,muted:true,loop:true,playsInline:true,className:`mint-w-full mint-block dark:mint-hidden`,src:`https://mintcdn.com/deeppcb/X7Hy0HgSSYrG7K_B/images/how-to/diffpairs-single-ended.mp4?fit=max\u0026auto=format\u0026n=X7Hy0HgSSYrG7K_B\u0026q=85\u0026s=9de19c4c710a15917b6a23624bde108b`,\"data-path\":`images/how-to/diffpairs-single-ended.mp4`}),_jsx(`video`,{autoPlay:true,muted:true,loop:true,playsInline:true,className:`mint-w-full mint-hidden dark:mint-block`,src:`https://mintcdn.com/deeppcb/X7Hy0HgSSYrG7K_B/images/how-to/diffpairs-single-ended-dark.mp4?fit=max\u0026auto=format\u0026n=X7Hy0HgSSYrG7K_B\u0026q=85\u0026s=778b586d2e6b19b3eeef2bd0019a4804`,\"data-path\":`images/how-to/diffpairs-single-ended-dark.mp4`})]}),`\n`,_jsxs(_components.p,{children:[`Both pin-level changes are pending edits: click `,_jsx(_components.strong,{children:`Save`}),` (the disk icon) in the toolbar to keep them, or `,_jsx(_components.strong,{children:`Discard`}),` to throw them away. See `,_jsx(_components.a,{href:`/tutorials/how-to/undo-save-discard`,children:`Undo, Save and Discard`}),`.`]}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`DeepPCB reads differential pairs already defined in your EDA tool, so most pairs arrive with the board — tag them there and this becomes a review step. See `,_jsx(_components.a,{href:`/guides/prepare-board-file`,children:`Prepare Board File`}),`.`]})}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[`Pairs carry more weight if the nets are also classified as `,_jsx(_components.strong,{children:`HIGH_SPEED`}),` in `,_jsx(_components.a,{href:`/tutorials/how-to/net-types`,children:`Net Types`}),`.`]})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Differential Pairs","description":"Declare a differential pair in DeepPCB so the engine routes the two nets together with matched length and a controlled gap.","href":"/tutorials/how-to/differential-pairs"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Pair Two Nets in Board Setup","slug":"pair-two-nets-in-board-setup","depth":2,"children":[]},{"title":"Pair Two Pins on the Board","slug":"pair-two-pins-on-the-board","depth":2,"children":[]},{"title":"Route a Pair Single-Ended","slug":"route-a-pair-single-ended","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"dynamicCss":".mint-block {\n display: block\n}\n.mint-hidden {\n display: none\n}\n.mint-w-full {\n width: 100%\n}\n.dark\\:mint-block:is(.dark *) {\n display: block\n}\n.dark\\:mint-hidden:is(.dark *) {\n display: none\n}","subdomain":"deeppcb","siteName":"DeepPCB","title":"Differential Pairs - DeepPCB","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-30T13:38:36.252Z","originalFileLocation":"tutorials/how-to/differential-pairs.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Declare a differential pair in DeepPCB so the engine routes the two nets together with matched length and a controlled gap.\">\u003cmeta data-mint-head name=\"application-name\" content=\"DeepPCB\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/deeppcb/HNgtT4aBzJ9yriQx/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/deeppcb/HNgtT4aBzJ9yriQx/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/deeppcb/HNgtT4aBzJ9yriQx/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/deeppcb/HNgtT4aBzJ9yriQx/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/deeppcb/HNgtT4aBzJ9yriQx/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/deeppcb/HNgtT4aBzJ9yriQx/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/deeppcb/HNgtT4aBzJ9yriQx/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/deeppcb/HNgtT4aBzJ9yriQx/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/deeppcb/HNgtT4aBzJ9yriQx/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Differential Pairs - DeepPCB\">\u003cmeta data-mint-head property=\"og:description\" content=\"Declare a differential pair in DeepPCB so the engine routes the two nets together with matched length and a controlled gap.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"DeepPCB\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.deeppcb.ai/tutorials/how-to/differential-pairs\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://deeppcb.mintlify.site/_mintlify/api/og/v2?division=Constraints+%26+Rules\u0026amp;title=Differential+Pairs\u0026amp;description=Declare+a+differential+pair+in+DeepPCB+so+the+engine+routes+the+two+nets+together+with+matched+length+and+a+controlled+gap.\u0026amp;theme=da613746ef0228cefb984db6\u0026amp;signature=6d44611b46e5106c316ab552a02cd59ed93abe31ab093ddf6f75ba2c9f1540de\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Differential Pairs - DeepPCB\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Declare a differential pair in DeepPCB so the engine routes the two nets together with matched length and a controlled gap.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://deeppcb.mintlify.site/_mintlify/api/og/v2?division=Constraints+%26+Rules\u0026amp;title=Differential+Pairs\u0026amp;description=Declare+a+differential+pair+in+DeepPCB+so+the+engine+routes+the+two+nets+together+with+matched+length+and+a+controlled+gap.\u0026amp;theme=da613746ef0228cefb984db6\u0026amp;signature=6d44611b46e5106c316ab552a02cd59ed93abe31ab093ddf6f75ba2c9f1540de\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/deeppcb/HNgtT4aBzJ9yriQx/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"DeepPCB\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#F4741B\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.deeppcb.ai/tutorials/how-to/differential-pairs\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/tutorials/how-to/differential-pairs.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.deeppcb.ai/#organization\",\"name\":\"DeepPCB\",\"url\":\"https://docs.deeppcb.ai\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/deeppcb/xIB7FeV5NS4hPekI/images/deeppcb-logo-light.svg?fit=max\u0026auto=format\u0026n=xIB7FeV5NS4hPekI\u0026q=85\u0026s=a568305abe8cbb4a5a120118be6dcdcd\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.deeppcb.ai#website\",\"name\":\"DeepPCB\",\"url\":\"https://docs.deeppcb.ai\",\"publisher\":{\"@id\":\"https://docs.deeppcb.ai/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.deeppcb.ai/tutorials/how-to/differential-pairs#webpage\",\"url\":\"https://docs.deeppcb.ai/tutorials/how-to/differential-pairs\",\"name\":\"Differential Pairs\",\"description\":\"Declare a differential pair in DeepPCB so the engine routes the two nets together with matched length and a controlled gap.\",\"dateModified\":\"2026-11-30T13:38:36.252Z\",\"isPartOf\":{\"@id\":\"https://docs.deeppcb.ai#website\"},\"breadcrumb\":{\"@id\":\"https://docs.deeppcb.ai/tutorials/how-to/differential-pairs#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.deeppcb.ai/tutorials/how-to/differential-pairs#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Tutorials\",\"item\":\"https://docs.deeppcb.ai/tutorials/how-to/around-the-workspace\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to\",\"item\":\"https://docs.deeppcb.ai/tutorials/how-to\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Constraints \u0026 Rules\",\"item\":\"https://docs.deeppcb.ai/tutorials/how-to/net-classes\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Differential Pairs\",\"item\":\"https://docs.deeppcb.ai/tutorials/how-to/differential-pairs\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.deeppcb.ai/tutorials/how-to/differential-pairs#article\",\"headline\":\"Differential Pairs\",\"name\":\"Differential Pairs\",\"description\":\"Declare a differential pair in DeepPCB so the engine routes the two nets together with matched length and a controlled gap.\",\"url\":\"https://docs.deeppcb.ai/tutorials/how-to/differential-pairs\",\"mainEntityOfPage\":{\"@id\":\"https://docs.deeppcb.ai/tutorials/how-to/differential-pairs#webpage\"},\"dateModified\":\"2026-11-30T13:38:36.252Z\",\"publisher\":{\"@id\":\"https://docs.deeppcb.ai/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.deeppcb.ai#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"DeepPCB\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"DeepPCB\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/tutorials/how-to/differential-pairs.md","siteName":"DeepPCB","nav":{"global":null,"tabs":[{"tab":"Documentation","groups":[{"group":"Get Started","pages":[{"group":"Introduction","root":{"title":"DeepPCB: AI PCB Routing for Engineering Teams","sidebarTitle":"Introduction","href":"/introduction"},"pages":[{"title":"What DeepPCB Does","href":"/introduction/what-deeppcb-does"},{"title":"Why DeepPCB Is Different","href":"/introduction/why-deeppcb-is-different"},{"title":"Key Features","href":"/introduction/key-features"},{"title":"Board Support","href":"/introduction/board-support"},{"title":"Security \u0026 Compliance","href":"/introduction/security-compliance"}]},{"group":"Account Setup","root":{"title":"DeepPCB Account Setup: Balance, API Keys, and Teams","sidebarTitle":"Account Setup","href":"/account-setup"},"pages":[{"title":"Creating an Account","href":"/account-setup/creating-an-account"},{"title":"Balance \u0026 Hours","sidebarTitle":"Balance \u0026 Hours","href":"/account-setup/balance-and-hours"},{"title":"Getting Your API Key","href":"/account-setup/getting-your-api-key"},{"title":"Enterprise Accounts","href":"/account-setup/enterprise-accounts"}]},{"group":"Quickstart","root":{"title":"Place and Route Your First PCB","sidebarTitle":"Quickstart","href":"/quickstart"},"pages":[{"title":"Quickstart: Route Your First Board in the DeepPCB Web App","sidebarTitle":"Web App","href":"/quickstart/route-your-first-board"},{"title":"Quickstart: Route a Board with the DeepPCB API","sidebarTitle":"API","href":"/quickstart/api"}]}]},{"group":"Tutorials","pages":[{"group":"How to","root":{"title":"How to","href":"/tutorials/how-to"},"pages":[{"group":"Getting Around","pages":[{"title":"Around the Workspace","href":"/tutorials/how-to/around-the-workspace"},{"title":"Views and Tools","href":"/tutorials/how-to/views-and-tools"},{"title":"Explorer and Visibility","href":"/tutorials/how-to/explorer-and-visibility"},{"title":"Highlight a Net","href":"/tutorials/how-to/highlight-a-net"}]},{"group":"Constraints \u0026 Rules","pages":[{"title":"Net Classes","href":"/tutorials/how-to/net-classes"},{"title":"Net Types","description":"Classify nets as power, ground, analog or by speed in DeepPCB so the routing engine treats each one appropriately.","href":"/tutorials/how-to/net-types"},{"title":"Differential Pairs","href":"/tutorials/how-to/differential-pairs"},{"title":"Decoupling Rules","description":"Link a pin to its decoupling capacitor in DeepPCB, and remove decoupling rules you no longer need.","href":"/tutorials/how-to/decoupling-rules"},{"title":"Via Definitions","href":"/tutorials/how-to/via-definitions"},{"title":"Planes","href":"/tutorials/how-to/planes"},{"title":"Set Layers to Power","href":"/tutorials/how-to/set-layers-to-power"},{"title":"Board Outline","href":"/tutorials/how-to/board-outline"}]},{"group":"Board Editing","pages":[{"title":"Move, Rotate and Flip Components","href":"/tutorials/how-to/move-rotate-flip-components"},{"title":"Protect / Unprotect Components","href":"/tutorials/how-to/protect-unprotect-components"},{"title":"Remove Wires and Vias","href":"/tutorials/how-to/remove-wires-and-vias"},{"title":"Global Actions","href":"/tutorials/how-to/global-actions"},{"title":"Undo, Save and Discard","href":"/tutorials/how-to/undo-save-discard"}]},{"group":"Running a Board","pages":[{"title":"Your First Run","href":"/tutorials/how-to/your-first-run"},{"title":"Job Type and Time Allocation","href":"/tutorials/how-to/job-type-and-time"},{"title":"Reading Anomalies","href":"/tutorials/how-to/reading-anomalies"},{"title":"Stop and Resume a Run","href":"/tutorials/how-to/stop-and-resume"},{"title":"Compare Revisions and Download","href":"/tutorials/how-to/revisions-and-download"},{"title":"Share a Board","href":"/tutorials/how-to/share-a-board"},{"title":"Exporting and Importing Across EDA Tools","sidebarTitle":"Round Trip","href":"/tutorials/export-import"}]},{"group":"Cooper","pages":[{"title":"Review a Board with Cooper","href":"/tutorials/how-to/cooper-review"},{"title":"Create a Via Definition with Cooper","sidebarTitle":"Create a Via Definition","href":"/tutorials/how-to/cooper/via-definition"},{"title":"Explain an Anomaly with Cooper","sidebarTitle":"Explain an Anomaly","href":"/tutorials/how-to/cooper/anomaly"},{"title":"Review Decoupling Rules with Cooper","sidebarTitle":"Review Decoupling Rules","href":"/tutorials/how-to/cooper/decoupling-rules"},{"title":"Highlight a Net with Cooper","sidebarTitle":"Highlight a Net","href":"/tutorials/how-to/cooper/highlight-a-net"},{"title":"Review Differential Pairs with Cooper","sidebarTitle":"Review Differential Pairs","href":"/tutorials/how-to/cooper/differential-pairs"},{"title":"Start a Run with Cooper","sidebarTitle":"Start a Run","href":"/tutorials/how-to/cooper/start-a-run"},{"title":"Protect Components with Cooper","sidebarTitle":"Protect Components","href":"/tutorials/how-to/cooper/protect-components"},{"title":"Ask Cooper About a Datasheet","sidebarTitle":"Read a Datasheet","href":"/tutorials/how-to/cooper/datasheet"},{"title":"Create a Net Class with Cooper","sidebarTitle":"Create a Net Class","href":"/tutorials/how-to/cooper/net-classes"},{"title":"Add and Remove Planes with Cooper","sidebarTitle":"Add or Remove a Plane","href":"/tutorials/how-to/cooper/planes"},{"title":"Edit a Layer with Cooper","sidebarTitle":"Edit a Layer","href":"/tutorials/how-to/cooper/edit-a-layer"},{"title":"Show and Hide Board Elements with Cooper","sidebarTitle":"Show and Hide Elements","href":"/tutorials/how-to/cooper/visibility"},{"title":"Select a Component or Pin with Cooper","sidebarTitle":"Select a Component or Pin","href":"/tutorials/how-to/cooper/select"}]}]}]},{"group":"Core Concepts","pages":[{"title":"How DeepPCB's AI Routing and Placement Engine Works","sidebarTitle":"How It Works","href":"/concepts/how-it-works"},{"title":"Cooper: AI-Powered PCB Design Review Before You Route","sidebarTitle":"Cooper","href":"/concepts/cooper"},{"title":"Design Constraints Supported by the DeepPCB AI Engine","sidebarTitle":"Design Constraints","href":"/concepts/design-constraints"},{"title":"Pricing and Billing: How DeepPCB Charges for Compute Time","sidebarTitle":"Pricing \u0026 Billing","href":"/concepts/pricing-billing"}]},{"group":"Using DeepPCB","pages":[{"title":"Prepare and Export Your PCB Board File for DeepPCB","sidebarTitle":"Prepare Board File","href":"/guides/prepare-board-file"},{"title":"Configure Net Classes, Layers, Net Types and Constraints in DeepPCB","sidebarTitle":"Board Setup","href":"/guides/board-setup"},{"title":"Run AI Component Placement for Your PCB with DeepPCB","sidebarTitle":"Placement","href":"/guides/placement"},{"title":"Automatic AI PCB Routing for Your Board with DeepPCB","sidebarTitle":"Routing","href":"/guides/routing"},{"title":"Download Your Completed Routed PCB Design from DeepPCB","sidebarTitle":"Downloading Results","href":"/guides/downloading-results"}]},{"group":"Integrations","pages":[{"title":"API","url":"/api/overview","href":"/integrations/api"},{"title":"DeepPCB KiCad Plugin: Route Your PCB with AI in KiCad","sidebarTitle":"KiCad Plugin","href":"/integrations/kicad-plugin"},{"title":"DeepPCB MCP Server: Drive PCB Layout from Your AI Agent","sidebarTitle":"MCP","href":"/integrations/mcp"}]},{"group":"Release Notes","pages":[{"title":"DeepPCB Release Notes: Latest Features and Fixes","sidebarTitle":"What's New","href":"/release-notes"}]},{"group":"Support","pages":[{"title":"Frequently Asked Questions About DeepPCB AI Routing","sidebarTitle":"FAQ","href":"/faq"},{"title":"Troubleshooting Common DeepPCB Upload and Routing Issues","sidebarTitle":"Troubleshooting","href":"/troubleshooting"}]}]},{"tab":"API Reference","pages":[{"title":"API Reference","href":"/api/overview"}]}]},"basePath":"","title":"Differential Pairs - DeepPCB","deploymentId":"dpl_6UE2cqB47X6P7P3F2hD3UphW6ijc","buildId":"dpl_6UE2cqB47X6P7P3F2hD3UphW6ijc","dynamics":["07c022d89b","a9bb46feb3"],"chunks":["Frame-otd7Y6S-.js","DynamicMarkdown-QJ7LkRm3.js","Markdown-Bquzb4Gw.js","AssistantPageLink-wSgGy_i5.js","dist-Bg48sGSz.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}