From fd887827d3ee769dc75d0a341527ee12174e106e Mon Sep 17 00:00:00 2001 From: Eddie Hung Date: Fri, 4 Oct 2024 17:40:13 -0700 Subject: [PATCH] Sink is only exclusive if no alt sinks Signed-off-by: Eddie Hung --- src/com/xilinx/rapidwright/rwroute/RWRoute.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/com/xilinx/rapidwright/rwroute/RWRoute.java b/src/com/xilinx/rapidwright/rwroute/RWRoute.java index f362b4719..1f1b07a97 100644 --- a/src/com/xilinx/rapidwright/rwroute/RWRoute.java +++ b/src/com/xilinx/rapidwright/rwroute/RWRoute.java @@ -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