diff options
author | Sylvain Munaut <tnt@246tNt.com> | 2021-08-19 12:01:49 +0200 |
---|---|---|
committer | Sylvain Munaut <tnt@246tNt.com> | 2021-08-19 12:01:49 +0200 |
commit | df67783dd36260b4c30bd0187d2edab1107942f5 (patch) | |
tree | 00114f07f994e145294489a3e67e3a6a215346c0 /common | |
parent | b37d133c43c45862bd5c550b5d7fffaa8c49b968 (diff) | |
download | nextpnr-df67783dd36260b4c30bd0187d2edab1107942f5.tar.gz nextpnr-df67783dd36260b4c30bd0187d2edab1107942f5.tar.bz2 nextpnr-df67783dd36260b4c30bd0187d2edab1107942f5.zip |
pybindings: Fix mapping for PortRefVector
This is used by net.users for instance.
Removed by mistake in 4ac00af6fadc0405867fdac84229d2cda390c108
Fixes #799
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Diffstat (limited to 'common')
-rw-r--r-- | common/pybindings.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/common/pybindings.cc b/common/pybindings.cc index 2f672a41..0e087e98 100644 --- a/common/pybindings.cc +++ b/common/pybindings.cc @@ -285,6 +285,8 @@ PYBIND11_EMBEDDED_MODULE(MODULE_NAME, m) WRAP_MAP(m, WireMap, wrap_context<PipMap &>, "WireMap"); WRAP_MAP_UPTR(m, RegionMap, "RegionMap"); + WRAP_VECTOR(m, PortRefVector, wrap_context<PortRef &>); + typedef dict<IdString, ClockFmax> ClockFmaxMap; WRAP_MAP(m, ClockFmaxMap, pass_through<ClockFmax>, "ClockFmaxMap"); |