aboutsummaryrefslogtreecommitdiffstats
path: root/backends/edif/edif.cc
diff options
context:
space:
mode:
Diffstat (limited to 'backends/edif/edif.cc')
-rw-r--r--backends/edif/edif.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/backends/edif/edif.cc b/backends/edif/edif.cc
index ccedd91d2..7f29cd41a 100644
--- a/backends/edif/edif.cc
+++ b/backends/edif/edif.cc
@@ -27,6 +27,9 @@
#include "kernel/log.h"
#include <string>
+USING_YOSYS_NAMESPACE
+PRIVATE_NAMESPACE_BEGIN
+
#define EDIF_DEF(_id) edif_names(RTLIL::unescape_id(_id), true).c_str()
#define EDIF_REF(_id) edif_names(RTLIL::unescape_id(_id), false).c_str()
@@ -345,3 +348,4 @@ struct EdifBackend : public Backend {
}
} EdifBackend;
+PRIVATE_NAMESPACE_END