From e87750371934443d5a6a1012ec64462a62db6aff Mon Sep 17 00:00:00 2001 From: Eddie Hung Date: Tue, 12 Nov 2024 23:00:32 -0800 Subject: [PATCH] Simplify if Signed-off-by: Eddie Hung --- src/com/xilinx/rapidwright/rwroute/RouteNodeInfo.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/com/xilinx/rapidwright/rwroute/RouteNodeInfo.java b/src/com/xilinx/rapidwright/rwroute/RouteNodeInfo.java index e04cb4150..76e180715 100644 --- a/src/com/xilinx/rapidwright/rwroute/RouteNodeInfo.java +++ b/src/com/xilinx/rapidwright/rwroute/RouteNodeInfo.java @@ -165,7 +165,7 @@ private static RouteNodeType getType(Node node, Tile endTile, RouteNodeGraph rou case NODE_CLE_BNODE: // CLE_BC_CORE*.BNODE_OUTS_[EW]* (Versal only) case NODE_INTF_BNODE: // INTF_[LR]OCF_[TB][LR]_TILE.IF_INT_BNODE_OUTS* (Versal only) case NODE_INTF_CNODE: // INTF_[LR]OCF_[TB][LR]_TILE.IF_INT_CNODE_OUTS* (Versal only) - if (routingGraph != null && routingGraph.eastWestWires != null) { + if (routingGraph != null) { BitSet[] eastWestWires = routingGraph.eastWestWires.get(tileTypeEnum); if (eastWestWires[0].get(node.getWireIndex())) { return RouteNodeType.LOCAL_EAST;