Post-rebase fix
Signed-off-by: D. Shah <dave@ds0.me>
This commit is contained in:
parent
7cff69f945
commit
15bf9e4f74
@ -277,13 +277,12 @@ struct Arch : BaseCtx
|
|||||||
|
|
||||||
std::vector<IdString> getCellTypes() const
|
std::vector<IdString> getCellTypes() const
|
||||||
{
|
{
|
||||||
std::vector<IdString> cell_types;
|
std::unordered_set<IdString> cell_types;
|
||||||
cell_types.reserve(bels.size());
|
|
||||||
for (auto bel : bels) {
|
for (auto bel : bels) {
|
||||||
cell_types.push_back(bel.first);
|
cell_types.insert(bel.second.type);
|
||||||
}
|
}
|
||||||
|
|
||||||
return cell_types;
|
return std::vector<IdString>{cell_types.begin(), cell_types.end()};
|
||||||
}
|
}
|
||||||
|
|
||||||
std::vector<BelBucketId> getBelBuckets() const { return getCellTypes(); }
|
std::vector<BelBucketId> getBelBuckets() const { return getCellTypes(); }
|
||||||
|
Loading…
Reference in New Issue
Block a user