From ec2d5368c32a898c11089853eee3a7871223b8c5 Mon Sep 17 00:00:00 2001 From: Eddie Hung Date: Mon, 23 Dec 2024 17:59:43 -0800 Subject: [PATCH] [LUTTools] Revert to using updated DesignTools.getConnectedCells() Signed-off-by: Eddie Hung --- .../xilinx/rapidwright/design/tools/LUTTools.java | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/com/xilinx/rapidwright/design/tools/LUTTools.java b/src/com/xilinx/rapidwright/design/tools/LUTTools.java index 087dcc6c4..b6985e493 100644 --- a/src/com/xilinx/rapidwright/design/tools/LUTTools.java +++ b/src/com/xilinx/rapidwright/design/tools/LUTTools.java @@ -482,7 +482,6 @@ public static String getLUTEquation(String init) { */ public static int swapMultipleLutPins(Map oldPinToNewPins) { Map> pinSwaps = new HashMap<>(); - Boolean isVersal = null; for (Map.Entry e : oldPinToNewPins.entrySet()) { SitePinInst oldSinkSpi = e.getKey(); @@ -497,18 +496,7 @@ public static int swapMultipleLutPins(Map oldPinToNewPins) continue; } - if (isVersal == null) { - isVersal = si.getDesign().getSeries() == Series.Versal; - } - Set cells = DesignTools.getConnectedCells(oldSinkSpi); - if (isVersal) { - assert(cells.size() == 1); - Cell cell = cells.iterator().next(); - BEL bel = cell.getBEL(); - assert(bel.isIMR()); - cells = DesignTools.getConnectedCells(bel.getPin("Q"), si); - } if (cells.isEmpty()) { continue; }