Skip to content

Commit

Permalink
Fix broken cherry-pick
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 fbccb34 commit 22decc1
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/com/xilinx/rapidwright/rwroute/RWRoute.java
Original file line number Diff line number Diff line change
Expand Up @@ -1373,14 +1373,6 @@ private void addNodesDelays(NetWrapper net) {
protected void ripUp(Connection connection) {
List<RouteNode> rnodes = connection.getRnodes();
if (rnodes.isEmpty()) {
<<<<<<< HEAD
assert(!connection.isRouted());
if (connection.getAltSinkRnodes().isEmpty()) {
// If there is no alternate sink, decrement this one-and-only sink node
RouteNode sinkRnode = connection.getSinkRnode();
rnodes = Collections.singletonList(sinkRnode);
}
=======
assert(!connection.getSink().isRouted());
return;
}
Expand All @@ -1393,7 +1385,6 @@ protected void ripUp(Connection connection) {
} else {
// Sink is not exclusive
assert(connection.getAltSinkRnodes().contains(sinkRnode));
>>>>>>> 1d0497a... [RWRoute] ripUp() to not release exclusive sink nodes
}

for (RouteNode rnode : rnodes) {
Expand Down

0 comments on commit 22decc1

Please sign in to comment.