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:
commit
f3d2a8dfcc
17 changed files with 814 additions and 39 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue