3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-24 01:25:33 +00:00

Merge branch 'YosysHQ:master' into rtlworks/script-stack/issue/3594

This commit is contained in:
Muthiah Annamalai (முத்து அண்ணாமலை) 2023-05-29 11:27:50 -07:00 committed by GitHub
commit f3d2a8dfcc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
17 changed files with 814 additions and 39 deletions

View file

@ -84,6 +84,12 @@ template<> struct hash_ops<int64_t> : hash_int_ops
return mkhash((unsigned int)(a), (unsigned int)(a >> 32));
}
};
template<> struct hash_ops<uint32_t> : hash_int_ops
{
static inline unsigned int hash(uint32_t a) {
return a;
}
};
template<> struct hash_ops<std::string> {
static inline bool cmp(const std::string &a, const std::string &b) {