aboutsummaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/pybindings.cc15
1 files changed, 15 insertions, 0 deletions
diff --git a/common/pybindings.cc b/common/pybindings.cc
new file mode 100644
index 00000000..43e474e1
--- /dev/null
+++ b/common/pybindings.cc
@@ -0,0 +1,15 @@
+#include "design.h"
+#include "chip.h"
+
+#include <boost/python.hpp>
+#include <boost/python/suite/indexing/vector_indexing_suite.hpp>
+#include <boost/python/suite/indexing/map_indexing_suite.hpp>
+using namespace boost::python;
+
+#define PASTER(x,y) x ## _ ## y
+#define EVALUATOR(x,y) PASTER(x,y)
+#define MODULE_NAME EVALUATOR(nextpnrpy, ARCHNAME)
+
+BOOST_PYTHON_MODULE (MODULE_NAME) {
+
+}