aboutsummaryrefslogtreecommitdiffstats
path: root/frontends/ilang/ilang_frontend.h
diff options
context:
space:
mode:
authorClifford Wolf <clifford@clifford.at>2014-07-31 13:19:47 +0200
committerClifford Wolf <clifford@clifford.at>2014-07-31 13:19:47 +0200
commit1cb25c05b37b0172dbc50e140fe20f25d973dd8a (patch)
tree4bccb9f45ccad05346697c79afca9a1b21dced9c /frontends/ilang/ilang_frontend.h
parent1202f7aa4bb0f9afde157ebc4701d64e7e38abd8 (diff)
downloadyosys-1cb25c05b37b0172dbc50e140fe20f25d973dd8a.tar.gz
yosys-1cb25c05b37b0172dbc50e140fe20f25d973dd8a.tar.bz2
yosys-1cb25c05b37b0172dbc50e140fe20f25d973dd8a.zip
Moved some stuff to kernel/yosys.{h,cc}, using Yosys:: namespace
Diffstat (limited to 'frontends/ilang/ilang_frontend.h')
-rw-r--r--frontends/ilang/ilang_frontend.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/frontends/ilang/ilang_frontend.h b/frontends/ilang/ilang_frontend.h
index 5e768c3b9..317ec0d51 100644
--- a/frontends/ilang/ilang_frontend.h
+++ b/frontends/ilang/ilang_frontend.h
@@ -25,14 +25,18 @@
#ifndef ILANG_FRONTEND_H
#define ILANG_FRONTEND_H
-#include "kernel/rtlil.h"
+#include "kernel/yosys.h"
#include <stdio.h>
+YOSYS_NAMESPACE_BEGIN
+
namespace ILANG_FRONTEND {
void ilang_frontend(FILE *f, RTLIL::Design *design);
extern RTLIL::Design *current_design;
}
+YOSYS_NAMESPACE_END
+
extern int rtlil_frontend_ilang_yydebug;
int rtlil_frontend_ilang_yylex(void);
void rtlil_frontend_ilang_yyerror(char const *s);