Skip to content

fix: obey maxMspPairDistance for nets with available net label orientations - #1078

Open
techmannih wants to merge 3 commits into
mainfrom
repro/trellis-core-decoupling-snake-traces
Open

fix: obey maxMspPairDistance for nets with available net label orientations#1078
techmannih wants to merge 3 commits into
mainfrom
repro/trellis-core-decoupling-snake-traces

Conversation

@techmannih

@techmannih techmannih commented Sep 7, 2026

Copy link
Copy Markdown
Member

Description

This PR resolves the issue where parallel decoupling capacitors (and other multi-pin nets with available net label orientations) formed unwanted serpentine / snake trace connections across capacitors.

  • In LongDistancePairSolver, candidate pair generation now checks maxMspPairDistance when the net has availableNetLabelOrientations or is a named netConnection.
  • Pins farther than maxMspPairDistance fall back to clean net labels / power / ground symbols as designed instead of being forced into long-distance traces.
  • Adds regression test in tests/repros/repro-trellis-core-decoupling-snake-traces.test.ts verifying that parallel decoupling capacitors do not form adjacent traces and display clean ground labels.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@vercel

vercel Bot commented Sep 7, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
schematic-trace-solver Ready Ready Preview Sep 7, 2026 1:48pm UTC

Request Review

@techmannih techmannih changed the title test: add Trellis Core C9-C15 decoupling capacitors snake traces repro fix: obey maxMspPairDistance for nets with available net label orientations Sep 7, 2026
@techmannih

Copy link
Copy Markdown
Member Author

/us

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant