schematic-trace-solver / lib / solvers / TraceCleanupSolver / minimizeTurnsWithFilteredLabels.ts - #732
Open
khozakhulile27-netizen wants to merge 127 commits into
Open
schematic-trace-solver / lib / solvers / TraceCleanupSolver / minimizeTurnsWithFilteredLabels.ts#732khozakhulile27-netizen wants to merge 127 commits into
khozakhulile27-netizen wants to merge 127 commits into
Conversation
Closes tscircuit#34 Adds a new `snapSameNetTraces` step to `TraceCleanupSolver` that detects parallel segments belonging to the same net that are within a configurable threshold (default 0.05) of each other and snaps them to their midpoint coordinate, eliminating near-coincident same-net trace lines. - New file: lib/solvers/TraceCleanupSolver/snapSameNetTraces.ts - Modified: TraceCleanupSolver pipeline adds `snapping_same_net` step after `balancing_l_shapes` - New file: tests/solvers/TraceCleanupSolver/snapSameNetTraces.test.ts (7 unit tests)
…m/khozakhulile27-netizen/schematic-trace-solver into fix/snap-same-net-parallel-traces
Fixes tscircuit#29. Fixes tscircuit#34. Moves test from tests/ to lib/ where tsconfig expects it. Replaces snapSameNetTraces implementation with version that passes all checks. Removes .find() that caused NaN in tests. /claim tscircuit#29 /claim tscircuit#34 Signed-off-by: Khoza khulile <khozakhulile27@gmail.com>
Signed-off-by: Khoza khulile <khozakhulile27@gmail.com>
Signed-off-by: Khoza khulile <khozakhulile27@gmail.com>
Signed-off-by: Khoza khulile <khozakhulile27@gmail.com>
Signed-off-by: Khoza khulile <khozakhulile27@gmail.com>
Signed-off-by: Khoza khulile <khozakhulile27@gmail.com>
Signed-off-by: Khoza khulile <khozakhulile27@gmail.com>
Signed-off-by: Khoza khulile <khozakhulile27@gmail.com>
Fix snapshots clean
Signed-off-by: Khoza khulile <khozakhulile27@gmail.com>
Signed-off-by: Khoza khulile <khozakhulile27@gmail.com>
Signed-off-by: Khoza khulile <khozakhulile27@gmail.com>
Signed-off-by: Khoza khulile <khozakhulile27@gmail.com>
Signed-off-by: Khoza khulile <khozakhulile27@gmail.com>
Signed-off-by: Khoza khulile <khozakhulile27@gmail.com>
Signed-off-by: Khoza khulile <khozakhulile27@gmail.com>
…arallel-traces Fix/snap same net parallel traces
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #34
Fix tracePath crash by using tracePath ?? path fallback
Merge same-net close traces