From 59c3db46cabf9914b01451ac724ba3da33fe6f42 Mon Sep 17 00:00:00 2001 From: "D. Shah" Date: Fri, 5 Feb 2021 11:36:19 +0000 Subject: ice40: Switch to BaseArch Signed-off-by: D. Shah --- ice40/archdefs.h | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) (limited to 'ice40/archdefs.h') diff --git a/ice40/archdefs.h b/ice40/archdefs.h index c0a6ac66..33227c6c 100644 --- a/ice40/archdefs.h +++ b/ice40/archdefs.h @@ -170,14 +170,7 @@ struct ArchCellInfo }; }; -struct BelBucketId -{ - IdString name; - - bool operator==(const BelBucketId &other) const { return (name == other.name); } - bool operator!=(const BelBucketId &other) const { return (name != other.name); } - bool operator<(const BelBucketId &other) const { return name < other.name; } -}; +typedef IdString BelBucketId; NEXTPNR_NAMESPACE_END @@ -223,14 +216,4 @@ template <> struct hash } }; -template <> struct hash -{ - std::size_t operator()(const NEXTPNR_NAMESPACE_PREFIX BelBucketId &bucket) const noexcept - { - std::size_t seed = 0; - boost::hash_combine(seed, hash()(bucket.name)); - return seed; - } -}; - } // namespace std -- cgit v1.2.3