mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-23 17:15:33 +00:00
Add recover_names pass to recover names post-mapping
This commit is contained in:
parent
57c9eb70fe
commit
52c8c28d2c
3 changed files with 737 additions and 0 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