Skip to content

Commit

Permalink
Sink is only exclusive if no alt sinks
Browse files Browse the repository at this point in the history
Signed-off-by: Eddie Hung <eddie.hung@amd.com>
  • Loading branch information
eddieh-xlnx committed Oct 5, 2024
1 parent dd10e43 commit edbfc73
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/com/xilinx/rapidwright/rwroute/RWRoute.java
Original file line number Diff line number Diff line change
Expand Up @@ -1378,9 +1378,8 @@ protected void ripUp(Connection connection) {
}

RouteNode sinkRnode = rnodes.get(0);
if (sinkRnode == connection.getSinkRnode()) {
if (sinkRnode == connection.getSinkRnode() && connection.getAltSinkRnodes().isEmpty()) {
// Sink is exclusive -- do not rip up
assert(connection.getAltSinkRnodes().isEmpty());
rnodes = rnodes.subList(1, rnodes.size() - 1);
} else {
// Sink is not exclusive
Expand Down

0 comments on commit edbfc73

Please sign in to comment.