aboutsummaryrefslogtreecommitdiffstats
path: root/dummy
diff options
context:
space:
mode:
authorDavid Shah <davey1576@gmail.com>2018-06-01 15:18:18 +0200
committerDavid Shah <davey1576@gmail.com>2018-06-02 13:48:28 +0200
commitf353453a7faa8c7fa87acfac161cdcbebfae04d1 (patch)
tree9d3a92c9b1dfdc8f983b4075b7585c08e9025630 /dummy
parenta7415bfbc34d1c0aae6ca0843600e88cded23b1c (diff)
downloadnextpnr-f353453a7faa8c7fa87acfac161cdcbebfae04d1.tar.gz
nextpnr-f353453a7faa8c7fa87acfac161cdcbebfae04d1.tar.bz2
nextpnr-f353453a7faa8c7fa87acfac161cdcbebfae04d1.zip
Add architecture specific Python defs
Signed-off-by: David Shah <davey1576@gmail.com>
Diffstat (limited to 'dummy')
-rw-r--r--dummy/pybindings.cc14
1 files changed, 14 insertions, 0 deletions
diff --git a/dummy/pybindings.cc b/dummy/pybindings.cc
new file mode 100644
index 00000000..5e49eaa5
--- /dev/null
+++ b/dummy/pybindings.cc
@@ -0,0 +1,14 @@
+#include "design.h"
+#include "chip.h"
+#include <utility>
+#include <stdexcept>
+#include <boost/python.hpp>
+#include <boost/python/suite/indexing/vector_indexing_suite.hpp>
+#include <boost/python/suite/indexing/map_indexing_suite.hpp>
+#include <boost/python/suite/indexing/map_indexing_suite.hpp>
+
+using namespace boost::python;
+
+void arch_wrap_python() {
+ class_<ChipArgs>("ChipArgs");
+}