aboutsummaryrefslogtreecommitdiffstats
path: root/ice40/pybindings.cc
diff options
context:
space:
mode:
authorDavid Shah <davey1576@gmail.com>2018-06-07 13:10:53 +0200
committerDavid Shah <davey1576@gmail.com>2018-06-07 13:10:53 +0200
commitc3e02527030c11f0177e3bf8d8c5d9a5c9925dc4 (patch)
treeec5fce1d0832d65f6da873ae5f9603c29063de3f /ice40/pybindings.cc
parent6236a1042797be90224461adf23243e0bb16f2fe (diff)
downloadnextpnr-c3e02527030c11f0177e3bf8d8c5d9a5c9925dc4.tar.gz
nextpnr-c3e02527030c11f0177e3bf8d8c5d9a5c9925dc4.tar.bz2
nextpnr-c3e02527030c11f0177e3bf8d8c5d9a5c9925dc4.zip
Reformat Python bindings and ice40 main
Signed-off-by: David Shah <davey1576@gmail.com>
Diffstat (limited to 'ice40/pybindings.cc')
-rw-r--r--ice40/pybindings.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/ice40/pybindings.cc b/ice40/pybindings.cc
index 3760e319..daf0be84 100644
--- a/ice40/pybindings.cc
+++ b/ice40/pybindings.cc
@@ -18,15 +18,15 @@
*
*/
-#include "design.h"
#include "chip.h"
+#include "design.h"
// include after design.h/chip.h
#include "pybindings.h"
-void arch_wrap_python() {
- class_<ChipArgs>("ChipArgs")
- .def_readwrite("type", &ChipArgs::type);
+void arch_wrap_python()
+{
+ class_<ChipArgs>("ChipArgs").def_readwrite("type", &ChipArgs::type);
enum_<decltype(std::declval<ChipArgs>().type)>("iCE40Type")
.value("NONE", ChipArgs::NONE)