base_arch: Fix typo in getClusterPlacement
Signed-off-by: gatecat <gatecat@ds0.me>
This commit is contained in:
parent
c82df9e40d
commit
1bf202adcd
@ -428,7 +428,7 @@ template <typename R> struct BaseArch : ArchAPI<R>
|
|||||||
return result;
|
return result;
|
||||||
});
|
});
|
||||||
BelId child_bel = this->getBelByLocation(child_loc);
|
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;
|
return false;
|
||||||
placement.emplace_back(child, child_bel);
|
placement.emplace_back(child, child_bel);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user