From 05167fcb8bf9cd85ea605331ca36cac6f25ce67f Mon Sep 17 00:00:00 2001 From: gatecat Date: Thu, 18 Aug 2022 15:09:41 +0200 Subject: pybindings: Mark CellInfo::bel as readonly bel bindings should be updated with bindBel/unbindBel during placement, or setting the BEL attribute for constraints before placement. Fixes #522 Signed-off-by: gatecat --- common/kernel/pybindings.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/common/kernel/pybindings.cc b/common/kernel/pybindings.cc index 9a783eb4..f738f081 100644 --- a/common/kernel/pybindings.cc +++ b/common/kernel/pybindings.cc @@ -191,8 +191,7 @@ PYBIND11_EMBEDDED_MODULE(MODULE_NAME, m) ci_cls, "params"); readonly_wrapper>::def_wrap( ci_cls, "ports"); - readwrite_wrapper, - conv_from_str>::def_wrap(ci_cls, "bel"); + readonly_wrapper>::def_wrap(ci_cls, "bel"); readwrite_wrapper, pass_through>::def_wrap(ci_cls, "belStrength"); -- cgit v1.2.3