• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Allegro X PCB Editor
  3. Differential Pair Setup of Class to Class

Stats

  • State Suggested Answer
  • Replies 18
  • Answers 2
  • Subscribers 164
  • Views 1352
  • Members are here 0
More Content

Differential Pair Setup of Class to Class

Sagetech
Sagetech 28 days ago

Trying to configure differential pair spacing from pair to pair and other traces.

I've been following the Parallel Systems Differential Pair tutorial but I'm not getting the results I need. 

I have my diff pair trace width and spacing set up in the physical cset.

I set up a spacing cset and net class to get my pair to pair spacing constrained. When I do this, the pairs do seem to adhere to the pair to pair spacing constraint but I get a DRC on the differential pair line to line spacing set in the physical constraint. If I remove the spacing cset, the pair spacing DRC goes away but the pair to pair spacing is no longer constrained and I can route one pair too close to the next pair.

Been through the instructions a dozen times with the same result. Instructions were published in 2020, maybe things have changed since then?

Thoughts / suggestions?

Tom

  • Cancel
  • Sign in to reply
  • excellon1
    0 excellon1 24 days ago in reply to Sagetech

    Hi

    For traces that need to be 18 mil away from your diff pairs, what has worked for me is to assign a net to a spacing cset and set its value to
    18mil for the line to line spacing.

    Basically you leave the diff pair as is and treat any other net so its spacing rule for line to line that would run parallel to the diff pair is what your desired spacing needs to be.

    I agree with you, some of the rules can be a heavy lift. Too easy to get lost in the weeds Slight smile

    Best Regards.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • steve
    0 steve 23 days ago in reply to Sagetech

    It sounds like you haven't set the min line spacing andf tolerance for the physical CSet for the diff pair. (It does explain this in the note you mention). Example, if the primary gap is 0.2mm, set the tolerance + and - to 0.05 then the min line spacing to 0.2 - 0.05 (so 0.15) and see if that helps. Tolerance and min line spacing is highly recommended when defining diff pairs. There is a supplementary notes on diff pairs on the same website that exaplins why.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • Sagetech
    0 Sagetech 23 days ago in reply to steve

    I did not set the tolerance (as you surmised) just the trace width and primary gap. I thought with the tolerance set to zero it would use the width / gap number I set as hard and fast numbers, no tolerance allowed.

    Tom

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • steve
    0 steve 23 days ago in reply to Sagetech

    You need to read the supplemental notes app (under the diff pairs one) on the same website and that gives you all you need to know about why you really should set tolerances and min line spacing.

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • Verify Answer
    • Reject Answer
    • Cancel
  • excellon1
    0 excellon1 23 days ago in reply to steve

    Hi Steve, Nice app-note, works very well here - cool beans ! Thanks.

    Tom on the spacing rule it is fairly ez to setup, steps below. Couple of thoughts first. On a board there are global spacing rules for everything but sometimes it is handy to be able to over-ride these rules by creating a dedicated spacing rule and applying it to an object. In the case of diff-pairs. A dedicated spacing rule pertains to objects outside the diff-pairs. It does not have anything to do with the actual diff-pair creation or spacing gap of the diff pairs etc.

    Assuming you have your DIFF-Pairs working here is how.

    IN The CM Left-Pane "Spacing Tab" go to "Spacing Constraint Set" (All Layers). In the right pane under  "Objects" Create a new Spacing Set. I used DP-Keepout as the name. Change a couple of things in there such as Line to line spacing & maybe shape to line spacing
    so when you test it out it will be ez to see the results. I used 50Mil so it would be obvious on the board.

    Next in the left pane click on Net (All Layers). In the right pane you should see your Diff-Pair Objects. In here all you need to do is apply the spacing rule you just created "DP-Keepout" to the DP objects. Click in the cell "Referenced Spacing Cset" and choose the rule
    "DP-Keepout"

    That's it. As I alluded to above you now have a dedicated rule that is attached to the DP Objects. With this rule if you try to route a trace close to your DP's you will see that it wont come closer than what the rule was setup to do. If you rip up your DP's and re-route them they should route fine again, but because of that new spacing rule you may find you have to clear more objects. It may be easier to just route in the DP's first using the global spacing and then apply the rule to keep any other objects away as you complete the board.

    Hopefully that's the EZ button !

    Best Regards.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
<>
Cadence Guidelines

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information