diff options
author | gatecat <gatecat@ds0.me> | 2021-05-06 12:23:28 +0100 |
---|---|---|
committer | gatecat <gatecat@ds0.me> | 2021-05-06 12:23:28 +0100 |
commit | 1bf202adcd1028035dc28a723666fc424ceb6831 (patch) | |
tree | 7d95f4e279c90c5d98c0cfdb7d79bf364050a5e5 /common/base_arch.h | |
parent | c82df9e40d5ac722f4274abe84c9b4851200f1db (diff) | |
download | nextpnr-1bf202adcd1028035dc28a723666fc424ceb6831.tar.gz nextpnr-1bf202adcd1028035dc28a723666fc424ceb6831.tar.bz2 nextpnr-1bf202adcd1028035dc28a723666fc424ceb6831.zip |
base_arch: Fix typo in getClusterPlacement
Signed-off-by: gatecat <gatecat@ds0.me>
Diffstat (limited to 'common/base_arch.h')
-rw-r--r-- | common/base_arch.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/base_arch.h b/common/base_arch.h index 8ed77790..e9cc8cf0 100644 --- a/common/base_arch.h +++ b/common/base_arch.h @@ -428,7 +428,7 @@ template <typename R> struct BaseArch : ArchAPI<R> return result; }); BelId child_bel = this->getBelByLocation(child_loc); - if (child_bel == BelId() || !this->isValidBelForCellType(child->type, root_bel)) + if (child_bel == BelId() || !this->isValidBelForCellType(child->type, child_bel)) return false; placement.emplace_back(child, child_bel); } |