aboutsummaryrefslogtreecommitdiffstats
path: root/ecp5
diff options
context:
space:
mode:
authorKeith Rothman <537074+litghost@users.noreply.github.com>2021-02-01 10:23:21 -0800
committerKeith Rothman <537074+litghost@users.noreply.github.com>2021-02-01 10:23:21 -0800
commit5cf2f8d1ea60537f0c2061451b83e8eb2ba3eefa (patch)
tree43bd80c5377b60d55506ec0b0fcb4441ad8a798d /ecp5
parent15b2852b916c1299dfc1d91a217de3060701bfbe (diff)
downloadnextpnr-5cf2f8d1ea60537f0c2061451b83e8eb2ba3eefa.tar.gz
nextpnr-5cf2f8d1ea60537f0c2061451b83e8eb2ba3eefa.tar.bz2
nextpnr-5cf2f8d1ea60537f0c2061451b83e8eb2ba3eefa.zip
Seperate PipRange types in pybindings_shared.
Signed-off-by: Keith Rothman <537074+litghost@users.noreply.github.com>
Diffstat (limited to 'ecp5')
-rw-r--r--ecp5/arch_pybindings.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/ecp5/arch_pybindings.cc b/ecp5/arch_pybindings.cc
index b8e48ccf..8618bec1 100644
--- a/ecp5/arch_pybindings.cc
+++ b/ecp5/arch_pybindings.cc
@@ -56,6 +56,9 @@ void arch_wrap_python(py::module &m)
readonly_wrapper<BelPin, decltype(&BelPin::bel), &BelPin::bel, conv_to_str<BelId>>::def_wrap(belpin_cls, "bel");
readonly_wrapper<BelPin, decltype(&BelPin::pin), &BelPin::pin, conv_to_str<IdString>>::def_wrap(belpin_cls, "pin");
+ typedef const PipRange UphillPipRange;
+ typedef const PipRange DownhillPipRange;
+
#include "arch_pybindings_shared.h"
WRAP_RANGE(m, Bel, conv_to_str<BelId>);