aboutsummaryrefslogtreecommitdiffstats
path: root/common/place/detail_place_core.cc
diff options
context:
space:
mode:
authorgatecat <gatecat@ds0.me>2022-04-19 19:09:29 +0100
committerGitHub <noreply@github.com>2022-04-19 19:09:29 +0100
commitb8f9f2daa2942395f15e33bcf6700e6f67667675 (patch)
tree39853fb89ccf67652ea2073fe82d0b5ac2135d21 /common/place/detail_place_core.cc
parentd76a6093ae68d094d6fbf4f1f2c4e7f69f0818d2 (diff)
parent19cade3b3b84ac7bfa07aa9eb8f47866dcd52d4e (diff)
downloadnextpnr-b8f9f2daa2942395f15e33bcf6700e6f67667675.tar.gz
nextpnr-b8f9f2daa2942395f15e33bcf6700e6f67667675.tar.bz2
nextpnr-b8f9f2daa2942395f15e33bcf6700e6f67667675.zip
Merge pull request #977 from YosysHQ/gatecat/prefine-tileswap
prefine: Do full-tile swaps, too
Diffstat (limited to 'common/place/detail_place_core.cc')
-rw-r--r--common/place/detail_place_core.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/place/detail_place_core.cc b/common/place/detail_place_core.cc
index bb383639..7e629f24 100644
--- a/common/place/detail_place_core.cc
+++ b/common/place/detail_place_core.cc
@@ -348,7 +348,7 @@ void DetailPlacerThreadState::compute_changes_for_cell(CellInfo *cell, BelId old
if (new_pos > b1) {
// Further out than current upper bound
b1 = new_pos;
- n1 = new_pos;
+ n1 = 1;
if (change == NO_CHANGE) {
change = CELL_MOVED_OUTWARDS;
axis.bounds_changed_nets.push_back(idx);