aboutsummaryrefslogtreecommitdiffstats
path: root/ice40/pybindings.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ice40/pybindings.cc')
-rw-r--r--ice40/pybindings.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ice40/pybindings.cc b/ice40/pybindings.cc
index bb591289..3c3e2394 100644
--- a/ice40/pybindings.cc
+++ b/ice40/pybindings.cc
@@ -53,7 +53,7 @@ void arch_wrap_python()
;
#undef X
- class_<Arch, Arch *, bases<BaseCtx>>("Arch", init<ArchArgs>())
+ class_<Arch, Arch *, bases<BaseCtx>, boost::noncopyable>("Arch", init<ArchArgs>())
.def("getBelByName", &Arch::getBelByName)
.def("getWireByName", &Arch::getWireByName)
.def("getBelName", &Arch::getBelName)