Skip to content

Commit

Permalink
Simplify code
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Lavin <[email protected]>
  • Loading branch information
clavin-xlnx committed Nov 27, 2024
1 parent 0a4103d commit 7b29ab0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/com/xilinx/rapidwright/design/ModuleInst.java
Original file line number Diff line number Diff line change
Expand Up @@ -353,12 +353,12 @@ public boolean place(Site newAnchorSite, boolean skipIncompatible, boolean allow
}
}
}
if (existingSiteInst != null) {
unplace();
return false;
}
}

if (existingSiteInst != null && !allowOverlap) {
unplace();
return false;
}

if (newSite == null || existingSiteInst != null) {
//MessageGenerator.briefError("ERROR: No matching site found." +
Expand Down

0 comments on commit 7b29ab0

Please sign in to comment.