diff options
author | Clifford Wolf <clifford@clifford.at> | 2014-12-27 12:02:57 +0100 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2014-12-27 12:02:57 +0100 |
commit | 6c8b0a5fd138d19b47191400f020c2472944f826 (patch) | |
tree | e67f6b311e40f7b848457e749b6b3e214bf2fa8d /kernel/rtlil.h | |
parent | 2c2f8e6e9f4eadbb191df8a8dbeee95443fc9f08 (diff) | |
download | yosys-6c8b0a5fd138d19b47191400f020c2472944f826.tar.gz yosys-6c8b0a5fd138d19b47191400f020c2472944f826.tar.bz2 yosys-6c8b0a5fd138d19b47191400f020c2472944f826.zip |
More dict/pool related changes
Diffstat (limited to 'kernel/rtlil.h')
-rw-r--r-- | kernel/rtlil.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/rtlil.h b/kernel/rtlil.h index c50a58619..cb654c3af 100644 --- a/kernel/rtlil.h +++ b/kernel/rtlil.h @@ -654,7 +654,7 @@ public: bool match(std::string pattern) const; std::set<RTLIL::SigBit> to_sigbit_set() const; - pool<RTLIL::SigBit> to_sigbit_nodict() const; + pool<RTLIL::SigBit> to_sigbit_pool() const; std::vector<RTLIL::SigBit> to_sigbit_vector() const; std::map<RTLIL::SigBit, RTLIL::SigBit> to_sigbit_map(const RTLIL::SigSpec &other) const; dict<RTLIL::SigBit, RTLIL::SigBit> to_sigbit_dict(const RTLIL::SigSpec &other) const; @@ -1176,7 +1176,7 @@ inline bool RTLIL::SigBit::operator!=(const RTLIL::SigBit &other) const { inline unsigned int RTLIL::SigBit::hash() const { if (wire) - return wire->name.hash() * 33 + offset; + return mkhash_add(wire->name.hash(), offset); return data; } |