mirror of
https://github.com/YosysHQ/nextpnr.git
synced 2026-01-29 21:31:05 +00:00
base_arch: Fix typo in getClusterPlacement
Signed-off-by: gatecat <gatecat@ds0.me>
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user