From 8c0acba90a567670ee12fa9296a3efab400fb494 Mon Sep 17 00:00:00 2001 From: Eddie Hung Date: Wed, 13 Nov 2024 15:31:35 -0800 Subject: [PATCH] Fix Signed-off-by: Eddie Hung --- src/com/xilinx/rapidwright/rwroute/PartialRouter.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/com/xilinx/rapidwright/rwroute/PartialRouter.java b/src/com/xilinx/rapidwright/rwroute/PartialRouter.java index 90435b794..74a5f2d4f 100644 --- a/src/com/xilinx/rapidwright/rwroute/PartialRouter.java +++ b/src/com/xilinx/rapidwright/rwroute/PartialRouter.java @@ -256,7 +256,7 @@ protected void determineRoutingTargets() { preservedNet = routingGraph.getPreservedNet(sinkRnode); if (preservedNet != null && preservedNet != net) { unpreserveNets.add(preservedNet); - assert(sinkRnode.getType().isExclusiveSink()); + assert(sinkRnode.getType().isAnyExclusiveSink()); } } @@ -599,7 +599,7 @@ protected void unpreserveNet(Net net) { RouteNode sourceRnode = connection.getSourceRnode(); RouteNode sinkRnode = connection.getSinkRnode(); assert(sourceRnode.getType() == RouteNodeType.EXCLUSIVE_SOURCE); - assert(sinkRnode.getType().isExclusiveSink()); + assert(sinkRnode.getType().isAnyExclusiveSink()); // Even though this connection is not expected to have any routing yet, // perform a rip up anyway in order to release any exclusive sinks