Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions lib/solvers/LongDistancePairSolver/LongDistancePairSolver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,14 @@ export class LongDistancePairSolver extends BaseSolver {
connection.pinIds.includes(p1.pinId) &&
connection.pinIds.includes(p2.pinId),
)
const availableNetLabelOrientations = inputNetConnection
? this.inputProblem.availableNetLabelOrientations[
inputNetConnection.netId
]
: undefined
const usesDownwardOnlyNetLabels =
availableNetLabelOrientations?.length === 1 &&
availableNetLabelOrientations[0] === "y-"
const sourceChip = this.chipMap[p1.chipId]
const targetRailTrace = sameNetTraces.find(
(trace) =>
Expand All @@ -321,6 +329,7 @@ export class LongDistancePairSolver extends BaseSolver {
)
const canJoinThreePinNet =
inputNetConnection !== undefined &&
!usesDownwardOnlyNetLabels &&
sourceChip?.pins.length === 2 &&
targetRailTrace !== undefined
const junctionTracePath = canJoinThreePinNet
Expand Down
Loading
Loading