Skip to content

Add same-net trace merge phase#299

Open
tdashelby-cmyk wants to merge 1 commit into
tscircuit:mainfrom
tdashelby-cmyk:codex/issue-29-same-net-trace-merge
Open

Add same-net trace merge phase#299
tdashelby-cmyk wants to merge 1 commit into
tscircuit:mainfrom
tdashelby-cmyk:codex/issue-29-same-net-trace-merge

Conversation

@tdashelby-cmyk
Copy link
Copy Markdown

/claim #29

Summary

  • add a SameNetTraceMergeSolver pipeline phase after trace cleanup
  • snap close, overlapping same-net internal horizontal/vertical trace segments onto a shared axis
  • preserve routed endpoints and avoid different-net changes
  • reject proposed merges that introduce new different-net intersections
  • feed merged traces into downstream net label placement/example solving

Validation

  • npx --yes bun test tests/solvers/SameNetTraceMergeSolver/SameNetTraceMergeSolver.test.ts
  • .\node_modules\.bin\tsc.exe --noEmit
  • npx --yes bun test
  • npx --yes bun run build
  • .\node_modules\.bin\biome.exe format on changed files

@vercel
Copy link
Copy Markdown

vercel Bot commented May 10, 2026

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

Project Deployment Actions Updated (UTC)
schematic-trace-solver Ready Ready Preview, Comment May 10, 2026 10:57pm

Request Review

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant