aboutsummaryrefslogtreecommitdiffstats
path: root/ecp5/arch_pybindings.cc
diff options
context:
space:
mode:
authorKeith Rothman <537074+litghost@users.noreply.github.com>2021-01-29 15:35:00 -0800
committerKeith Rothman <537074+litghost@users.noreply.github.com>2021-02-02 07:43:36 -0800
commit9089ee2d1631fe2346143823c2896a2a85a27e8b (patch)
tree7fb694eec79c542fa4658392b058b56a45f7013f /ecp5/arch_pybindings.cc
parent9fe546f279cd643a308322ffa6af622630892315 (diff)
downloadnextpnr-9089ee2d1631fe2346143823c2896a2a85a27e8b.tar.gz
nextpnr-9089ee2d1631fe2346143823c2896a2a85a27e8b.tar.bz2
nextpnr-9089ee2d1631fe2346143823c2896a2a85a27e8b.zip
Add pybindings for new APIs.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
Diffstat (limited to 'ecp5/arch_pybindings.cc')
-rw-r--r--ecp5/arch_pybindings.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/ecp5/arch_pybindings.cc b/ecp5/arch_pybindings.cc
index 8618bec1..b000ea78 100644
--- a/ecp5/arch_pybindings.cc
+++ b/ecp5/arch_pybindings.cc
@@ -59,6 +59,8 @@ void arch_wrap_python(py::module &m)
typedef const PipRange UphillPipRange;
typedef const PipRange DownhillPipRange;
+ typedef const std::vector<BelBucketId> & BelBucketRange;
+ typedef const std::vector<BelId> & BelRangeForBelBucket;
#include "arch_pybindings_shared.h"
WRAP_RANGE(m, Bel, conv_to_str<BelId>);