aboutsummaryrefslogtreecommitdiffstats
path: root/common/fast_bels.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/fast_bels.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/fast_bels.h')
-rw-r--r--common/fast_bels.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/fast_bels.h b/common/fast_bels.h
index 0425f92a..b49c4c6c 100644
--- a/common/fast_bels.h
+++ b/common/fast_bels.h
@@ -178,10 +178,10 @@ struct FastBels
const bool check_bel_available;
const int minBelsForGridPick;
- std::unordered_map<IdString, TypeData> cell_types;
+ dict<IdString, TypeData> cell_types;
std::vector<std::unique_ptr<FastBelsData>> fast_bels_by_cell_type;
- std::unordered_map<BelBucketId, TypeData> partition_types;
+ dict<BelBucketId, TypeData> partition_types;
std::vector<std::unique_ptr<FastBelsData>> fast_bels_by_partition_type;
};