summaryrefslogtreecommitdiff
path: root/kernel/yosys.h
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2014-12-30 23:45:43 +0100
committerClifford Wolf <clifford@clifford.at>2014-12-30 23:45:43 +0100
commit6fef4b82a2315830f99eeca3a4e80697a90a8447 (patch)
treed942c634f1843537c60778c551b8a46a805a1916 /kernel/yosys.h
parent1909edfa9c9236b2dc22d18946fd44ff266bce14 (diff)
using pool<> in bitpattern.h
Diffstat (limited to 'kernel/yosys.h')
-rw-r--r--kernel/yosys.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/kernel/yosys.h b/kernel/yosys.h
index 5f3c3577..2c9ca0dd 100644
--- a/kernel/yosys.h
+++ b/kernel/yosys.h
@@ -221,6 +221,10 @@ YOSYS_NAMESPACE_END
YOSYS_NAMESPACE_BEGIN
+namespace hashlib {
+ template<> struct hash_ops<RTLIL::State> : hash_ops<int> {};
+}
+
void yosys_setup();
void yosys_shutdown();