diff options
author | D. Shah <dave@ds0.me> | 2021-02-05 11:49:31 +0000 |
---|---|---|
committer | D. Shah <dave@ds0.me> | 2021-02-05 19:19:17 +0000 |
commit | f5d2e245e172e2481639dedc3f9b6870f069742a (patch) | |
tree | b48021373a3f44dbc0384bb56bd2951ca7fe7971 /nexus/archdefs.h | |
parent | 59c3db46cabf9914b01451ac724ba3da33fe6f42 (diff) | |
download | nextpnr-f5d2e245e172e2481639dedc3f9b6870f069742a.tar.gz nextpnr-f5d2e245e172e2481639dedc3f9b6870f069742a.tar.bz2 nextpnr-f5d2e245e172e2481639dedc3f9b6870f069742a.zip |
nexus: Switch to BaseArch
Signed-off-by: D. Shah <dave@ds0.me>
Diffstat (limited to 'nexus/archdefs.h')
-rw-r--r-- | nexus/archdefs.h | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/nexus/archdefs.h b/nexus/archdefs.h index 7e427e06..de5e17c8 100644 --- a/nexus/archdefs.h +++ b/nexus/archdefs.h @@ -114,14 +114,7 @@ struct PipId } }; -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; struct GroupId { @@ -260,14 +253,4 @@ template <> struct hash<NEXTPNR_NAMESPACE_PREFIX DecalId> } }; -template <> struct hash<NEXTPNR_NAMESPACE_PREFIX BelBucketId> -{ - std::size_t operator()(const NEXTPNR_NAMESPACE_PREFIX BelBucketId &bucket) const noexcept - { - std::size_t seed = 0; - boost::hash_combine(seed, hash<NEXTPNR_NAMESPACE_PREFIX IdString>()(bucket.name)); - return seed; - } -}; - } // namespace std |