Skip to content

Commit

Permalink
[RouterHelper] invertPossibleGndPinsToVccPins() to use fixed
Browse files Browse the repository at this point in the history
DesignTools.getConnectedCells()

Signed-off-by: Eddie Hung <[email protected]>
  • Loading branch information
eddieh-xlnx committed Dec 24, 2024
1 parent b5994f6 commit ac1c617
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/com/xilinx/rapidwright/rwroute/RouterHelper.java
Original file line number Diff line number Diff line change
Expand Up @@ -360,13 +360,7 @@ public static Set<SitePinInst> invertPossibleGndPinsToVccPins(Design design,
SiteInst si = spi.getSiteInst();
String siteWireName = spi.getSiteWireName();
if (invertLutInputs && spi.isLUTInputPin()) {
BELPin spiBelPin;
if (isVersal) {
// Walk through IMR before checking for connected cells
spiBelPin = si.getBELPin(spi.getSiteWireName() + "_IMR", "Q");
} else {
spiBelPin = spi.getBELPin();
}
BELPin spiBelPin = spi.getBELPin();
Collection<Cell> connectedCells = DesignTools.getConnectedCells(spiBelPin, si);
if (connectedCells.isEmpty()) {
for (BELPin belPin : si.getSiteWirePins(spiBelPin.getSiteWireName())) {
Expand Down

0 comments on commit ac1c617

Please sign in to comment.