Skip to content

Commit

Permalink
Merge branch 'master' into 2024.2.0
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Lavin <[email protected]>
  • Loading branch information
clavin-xlnx committed Dec 2, 2024
2 parents 5c1dc99 + 3836227 commit c96faf8
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/com/xilinx/rapidwright/design/ModuleInst.java
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,6 @@
import com.xilinx.rapidwright.device.Site;
import com.xilinx.rapidwright.device.SiteTypeEnum;
import com.xilinx.rapidwright.device.Tile;
import com.xilinx.rapidwright.edif.EDIFNet;
import com.xilinx.rapidwright.edif.EDIFPortInst;
import com.xilinx.rapidwright.edif.EDIFTools;
import com.xilinx.rapidwright.util.MessageGenerator;
import com.xilinx.rapidwright.util.Utils;

Expand Down Expand Up @@ -356,6 +353,10 @@ public boolean place(Site newAnchorSite, boolean skipIncompatible, boolean allow
}
}
}
if (existingSiteInst != null) {
unplace();
return false;
}
}

if (newSite == null || existingSiteInst != null) {
Expand Down

0 comments on commit c96faf8

Please sign in to comment.