prevent trace detours from crossing same-net labels - #1143
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
There was a problem hiding this comment.
Is this power labels? if its power label then the position of that label is correct, the trace can be simplified for it.
There was a problem hiding this comment.
mean now the trace is intersecting other netlabels, correct?
There was a problem hiding this comment.
Yea and also if that above symbol is a power symbol then its not solving now with your changes
There was a problem hiding this comment.
@MustafaMulla29 But it doesn’t contain a GND symbol, right? I mean, a simple net label shouldn’t take the ground orientation, right?
There was a problem hiding this comment.
Am asking is that a power label like VCC? if it's a power label then its orientation is wrong in your fix @techmannih
There was a problem hiding this comment.
How can I check this? this is power label or not, I mean, this behavior should be documented somewhere, right? Is there a way to verify? Can AI verify this?
There was a problem hiding this comment.
@techmannih you can add an isPower Boolean to the json input and then emit that Boolean from cores trace solver input. Just like how we have isGround. So with that we can just show the same symbol like we have for ground. That will be easier to identify if they are power labels just by looking at them. Ofc these can be in separate prs


Fixes core repro173, where rerouting the C1-to-R2 ground trace around VM caused it to cross the GND label below R1.
Rejects detours through unrelated labels on the same net and adds corner detours that clear both labels. Preserves labels attached to the moving trace.
Updates the regression test and reviewed snapshots.
Validation: 384 tests passed, 4 skipped; typecheck passed in a clean checkout. Verified core’s original repro with the patched solver.