From 47cd53debb0f9f50d525a19688d1a8885b59d72d Mon Sep 17 00:00:00 2001 From: Eddie Hung Date: Fri, 12 Jul 2024 15:35:11 -0700 Subject: [PATCH] mprove RouteNodeGraph.isAccessible() for cross-SLR Signed-off-by: Eddie Hung --- src/com/xilinx/rapidwright/rwroute/RouteNodeGraph.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/com/xilinx/rapidwright/rwroute/RouteNodeGraph.java b/src/com/xilinx/rapidwright/rwroute/RouteNodeGraph.java index f66cd5167..cdd3cfa07 100644 --- a/src/com/xilinx/rapidwright/rwroute/RouteNodeGraph.java +++ b/src/com/xilinx/rapidwright/rwroute/RouteNodeGraph.java @@ -560,8 +560,9 @@ public boolean isAccessible(RouteNode childRnode, Connection connection) { } int childX = childTile.getTileXCoordinate(); - if (connection.isCrossSLR() && nextLagunaColumn[childX] == childX) { - // Connection crosses SLR and this is a Laguna column + if (connection.getSinkRnode().getSLRIndex() != childRnode.getSLRIndex() && + nextLagunaColumn[childX] == childX) { + // Connection needs to cross SLRs and this is a Laguna column return true; }