aboutsummaryrefslogtreecommitdiffstats
path: root/common/placer_heap.h
diff options
context:
space:
mode:
authorgatecat <gatecat@ds0.me>2021-06-01 17:52:25 +0100
committergatecat <gatecat@ds0.me>2021-06-02 15:04:49 +0100
commit43b8dde923b8cf57a206526fd6e66ebf1c436010 (patch)
tree4a45f386aa04c43f09dd40c256a1284f6e9fd393 /common/placer_heap.h
parent579b98c5963c2b86d191d481a2147a663a8196dd (diff)
downloadnextpnr-43b8dde923b8cf57a206526fd6e66ebf1c436010.tar.gz
nextpnr-43b8dde923b8cf57a206526fd6e66ebf1c436010.tar.bz2
nextpnr-43b8dde923b8cf57a206526fd6e66ebf1c436010.zip
Use hashlib in placers
Signed-off-by: gatecat <gatecat@ds0.me>
Diffstat (limited to 'common/placer_heap.h')
-rw-r--r--common/placer_heap.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/placer_heap.h b/common/placer_heap.h
index 00913062..9b3c3ed0 100644
--- a/common/placer_heap.h
+++ b/common/placer_heap.h
@@ -46,10 +46,10 @@ struct PlacerHeapCfg
int spread_scale_x, spread_scale_y;
// These cell types will be randomly locked to prevent singular matrices
- std::unordered_set<IdString> ioBufTypes;
+ pool<IdString> ioBufTypes;
// These cell types are part of the same unit (e.g. slices split into
// components) so will always be spread together
- std::vector<std::unordered_set<BelBucketId>> cellGroups;
+ std::vector<pool<BelBucketId>> cellGroups;
};
extern bool placer_heap(Context *ctx, PlacerHeapCfg cfg);