From d0fabd85c04322a1de2f1345f1c40b1b935afc1d Mon Sep 17 00:00:00 2001 From: Eddie Hung Date: Thu, 14 Nov 2024 14:07:51 -0800 Subject: [PATCH] [PartialRouter] Always preserve all static sinks Signed-off-by: Eddie Hung --- src/com/xilinx/rapidwright/rwroute/PartialRouter.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/com/xilinx/rapidwright/rwroute/PartialRouter.java b/src/com/xilinx/rapidwright/rwroute/PartialRouter.java index 74a5f2d4f..892de8e0b 100644 --- a/src/com/xilinx/rapidwright/rwroute/PartialRouter.java +++ b/src/com/xilinx/rapidwright/rwroute/PartialRouter.java @@ -310,8 +310,11 @@ protected void addStaticNetRoutingTargets(Net staticNet) { @Override protected void preserveNet(Net net, boolean async) { - List pinsToRoute = netToPins.get(net); - // Only preserve those pins that are not to be routed + List pinsToRoute = null; + if (!net.isStaticNet()) { + // Only preserve those pins that are not to be routed + pinsToRoute = netToPins.get(net); + } List pinsToPreserve; if (pinsToRoute == null) { pinsToPreserve = net.getPins();