diff options
author | Clifford Wolf <clifford@clifford.at> | 2014-12-29 03:11:50 +0100 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2014-12-29 03:11:50 +0100 |
commit | 90bc71dd906935def78048e13e7c9f214af0486c (patch) | |
tree | 3f586998f5148e246f8fe10e8422ff322514c4b6 /kernel/yosys.h | |
parent | 397ae5b697e9923bb9d35df425370efd9357b127 (diff) | |
download | yosys-90bc71dd906935def78048e13e7c9f214af0486c.tar.gz yosys-90bc71dd906935def78048e13e7c9f214af0486c.tar.bz2 yosys-90bc71dd906935def78048e13e7c9f214af0486c.zip |
dict/pool changes in ast
Diffstat (limited to 'kernel/yosys.h')
-rw-r--r-- | kernel/yosys.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/kernel/yosys.h b/kernel/yosys.h index 700a0603d..c0004abce 100644 --- a/kernel/yosys.h +++ b/kernel/yosys.h @@ -159,6 +159,10 @@ namespace RTLIL { struct Monitor; } +namespace AST { + struct AstNode; +} + using RTLIL::IdString; using RTLIL::Const; using RTLIL::SigBit; @@ -174,12 +178,14 @@ namespace hashlib { template<> struct hash_ops<RTLIL::Module*> : hash_obj_ops {}; template<> struct hash_ops<RTLIL::Design*> : hash_obj_ops {}; template<> struct hash_ops<RTLIL::Monitor*> : hash_obj_ops {}; + template<> struct hash_ops<AST::AstNode*> : hash_obj_ops {}; template<> struct hash_ops<const RTLIL::Wire*> : hash_obj_ops {}; template<> struct hash_ops<const RTLIL::Cell*> : hash_obj_ops {}; template<> struct hash_ops<const RTLIL::Module*> : hash_obj_ops {}; template<> struct hash_ops<const RTLIL::Design*> : hash_obj_ops {}; template<> struct hash_ops<const RTLIL::Monitor*> : hash_obj_ops {}; + template<> struct hash_ops<const AST::AstNode*> : hash_obj_ops {}; } void memhasher_on(); |