summaryrefslogtreecommitdiff
path: root/passes/opt
diff options
context:
space:
mode:
Diffstat (limited to 'passes/opt')
-rw-r--r--passes/opt/opt_muxtree.cc2
-rw-r--r--passes/opt/opt_rmunused.cc2
2 files changed, 4 insertions, 0 deletions
diff --git a/passes/opt/opt_muxtree.cc b/passes/opt/opt_muxtree.cc
index 9d622d6a..5602b5ee 100644
--- a/passes/opt/opt_muxtree.cc
+++ b/passes/opt/opt_muxtree.cc
@@ -27,6 +27,8 @@
#include <stdio.h>
#include <set>
+using RTLIL::id2cstr;
+
struct OptMuxtreeWorker
{
RTLIL::Design *design;
diff --git a/passes/opt/opt_rmunused.cc b/passes/opt/opt_rmunused.cc
index 9b276644..4807a97b 100644
--- a/passes/opt/opt_rmunused.cc
+++ b/passes/opt/opt_rmunused.cc
@@ -27,6 +27,8 @@
#include <stdio.h>
#include <set>
+using RTLIL::id2cstr;
+
static CellTypes ct;
static void rmunused_module_cells(RTLIL::Module *module)