Skip to content

Commit

Permalink
Remove commented out code
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 22decc1 commit ad76a4e
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions src/com/xilinx/rapidwright/rwroute/PartialRouter.java
Original file line number Diff line number Diff line change
Expand Up @@ -390,13 +390,6 @@ protected void addNetConnectionToRoutingTargets(Net net) {
continue;
}

// Even though this connection is not expected to have any routing yet,
// perform a rip up anyway in order to release any exclusive sinks
// ahead of finishRouteConnection()
// assert(connection.getRnodes().isEmpty());
// connection.setRouted(false);
// ripUp(connection);

RouteNode sinkRnode = connection.getSinkRnode();
finishRouteConnection(connection, sinkRnode);
}
Expand Down Expand Up @@ -592,13 +585,6 @@ protected NetWrapper unpreserveNet(Net net) {
assert(sourceRnode.getType() == RouteNodeType.PINFEED_O);
assert(sinkRnode.getType() == RouteNodeType.PINFEED_I);

// Even though this connection is not expected to have any routing yet,
// perform a rip up anyway in order to release any exclusive sinks
// ahead of finishRouteConnection()
// assert(connection.getRnodes().isEmpty());
// connection.setRouted(false);
// ripUp(connection);

finishRouteConnection(connection, sinkRnode);
}

Expand Down

0 comments on commit ad76a4e

Please sign in to comment.