summaryrefslogtreecommitdiff
path: root/passes/memory/memory_share.cc
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2014-07-31 23:30:18 +0200
committerClifford Wolf <clifford@clifford.at>2014-07-31 23:30:18 +0200
commit32a1cc3efdad7953af1805b245f2a0292698633a (patch)
tree3d80e27faca013b5af666b31170403d0c6cfd4e2 /passes/memory/memory_share.cc
parent62c8a7152551519d6e876319b1068a1987a14f3c (diff)
Renamed modwalker.h to modtools.h
Diffstat (limited to 'passes/memory/memory_share.cc')
-rw-r--r--passes/memory/memory_share.cc11
1 files changed, 6 insertions, 5 deletions
diff --git a/passes/memory/memory_share.cc b/passes/memory/memory_share.cc
index b6e7cc83..fde6ea00 100644
--- a/passes/memory/memory_share.cc
+++ b/passes/memory/memory_share.cc
@@ -17,13 +17,12 @@
*
*/
-#include "kernel/rtlil.h"
+#include "kernel/yosys.h"
#include "kernel/satgen.h"
#include "kernel/sigtools.h"
-#include "kernel/modwalker.h"
-#include "kernel/register.h"
-#include "kernel/log.h"
-#include <algorithm>
+#include "kernel/modtools.h"
+
+PRIVATE_NAMESPACE_BEGIN
static bool memcells_cmp(RTLIL::Cell *a, RTLIL::Cell *b)
{
@@ -742,3 +741,5 @@ struct MemorySharePass : public Pass {
}
} MemorySharePass;
+PRIVATE_NAMESPACE_END
+