aboutsummaryrefslogtreecommitdiffstats
path: root/common/place_sa.cc
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2018-06-17 18:22:39 +0200
committerClifford Wolf <clifford@clifford.at>2018-06-17 18:22:39 +0200
commit8e8838c8a725abc561d74eed81385df2057c38ba (patch)
treeb7767e99faf121f597442c0a62ede69380369a29 /common/place_sa.cc
parentacfef6971e8fc7b680b0f02638cf0162ceb27c25 (diff)
parent2f9810a346e35de0dfe00607ee462436af545429 (diff)
downloadnextpnr-8e8838c8a725abc561d74eed81385df2057c38ba.tar.gz
nextpnr-8e8838c8a725abc561d74eed81385df2057c38ba.tar.bz2
nextpnr-8e8838c8a725abc561d74eed81385df2057c38ba.zip
Merge branch 'master' of gitlab.com:SymbioticEDA/nextpnr into chipdbng
Diffstat (limited to 'common/place_sa.cc')
-rw-r--r--common/place_sa.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/common/place_sa.cc b/common/place_sa.cc
index 12ca30d8..a0c32c1d 100644
--- a/common/place_sa.cc
+++ b/common/place_sa.cc
@@ -191,16 +191,12 @@ static bool try_swap_position(Design *design, CellInfo *cell, BelId newBel,
other_cell = design->cells[other];
chip.unbindBel(newBel);
}
- if (!isValidBelForCell(design, cell, newBel))
- goto swap_fail;
for (const auto &port : cell->ports)
if (port.second.net != nullptr)
update.insert(port.second.net);
if (other != IdString()) {
- if (!isValidBelForCell(design, other_cell, oldBel))
- goto swap_fail;
for (const auto &port : other_cell->ports)
if (port.second.net != nullptr)
update.insert(port.second.net);