diff options
author | whitequark <whitequark@whitequark.org> | 2019-12-01 01:51:16 +0000 |
---|---|---|
committer | whitequark <whitequark@whitequark.org> | 2020-04-09 04:08:36 +0000 |
commit | d20e971725a780458ccd18d08be7ecfb67884eaf (patch) | |
tree | 9f73737d385908bc85808084d97bc8cebaa12108 /kernel/yosys.h | |
parent | 42e7e4420768ae4bdf0a7ae32234a9c10939c8f0 (diff) | |
download | yosys-d20e971725a780458ccd18d08be7ecfb67884eaf.tar.gz yosys-d20e971725a780458ccd18d08be7ecfb67884eaf.tar.bz2 yosys-d20e971725a780458ccd18d08be7ecfb67884eaf.zip |
write_cxxrtl: new backend.
This commit adds a basic implementation that isn't very performant
but implements most of the planned features.
Diffstat (limited to 'kernel/yosys.h')
-rw-r--r-- | kernel/yosys.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/kernel/yosys.h b/kernel/yosys.h index 16e0aaf1c..6aed7c96a 100644 --- a/kernel/yosys.h +++ b/kernel/yosys.h @@ -207,6 +207,7 @@ namespace RTLIL { struct SigSpec; struct Wire; struct Cell; + struct Memory; struct Module; struct Design; struct Monitor; @@ -229,6 +230,7 @@ using RTLIL::Design; namespace hashlib { template<> struct hash_ops<RTLIL::Wire*> : hash_obj_ops {}; template<> struct hash_ops<RTLIL::Cell*> : hash_obj_ops {}; + template<> struct hash_ops<RTLIL::Memory*> : hash_obj_ops {}; 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 {}; @@ -236,6 +238,7 @@ namespace hashlib { 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::Memory*> : 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 {}; |