diff options
author | David Shah <davey1576@gmail.com> | 2018-06-01 15:18:18 +0200 |
---|---|---|
committer | David Shah <davey1576@gmail.com> | 2018-06-02 13:48:28 +0200 |
commit | f353453a7faa8c7fa87acfac161cdcbebfae04d1 (patch) | |
tree | 9d3a92c9b1dfdc8f983b4075b7585c08e9025630 /dummy/pybindings.cc | |
parent | a7415bfbc34d1c0aae6ca0843600e88cded23b1c (diff) | |
download | nextpnr-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/pybindings.cc')
-rw-r--r-- | dummy/pybindings.cc | 14 |
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"); +} |