aboutsummaryrefslogtreecommitdiffstats
path: root/host/python
diff options
context:
space:
mode:
authorAaron Rossetto <aaron.rossetto@ni.com>2020-06-01 14:51:53 -0500
committerAaron Rossetto <aaron.rossetto@ni.com>2020-06-09 07:09:34 -0500
commit5d861ec14f5fdbdaa709d560946a3b77499c7858 (patch)
tree65292c931bb80db8f960a2a41e685f132e9c8261 /host/python
parent463dbf9ac3bca7b69331a4315404a6e6e6d29674 (diff)
downloaduhd-5d861ec14f5fdbdaa709d560946a3b77499c7858.tar.gz
uhd-5d861ec14f5fdbdaa709d560946a3b77499c7858.tar.bz2
uhd-5d861ec14f5fdbdaa709d560946a3b77499c7858.zip
python: Add DUC RFNoC block controller bindings
Diffstat (limited to 'host/python')
-rw-r--r--host/python/pyuhd.cpp2
-rw-r--r--host/python/uhd/rfnoc.py1
2 files changed, 3 insertions, 0 deletions
diff --git a/host/python/pyuhd.cpp b/host/python/pyuhd.cpp
index 149a53bba..2d807e4ea 100644
--- a/host/python/pyuhd.cpp
+++ b/host/python/pyuhd.cpp
@@ -15,6 +15,7 @@ namespace py = pybind11;
#include "cal/cal_python.hpp"
#include "rfnoc/ddc_block_control_python.hpp"
+#include "rfnoc/duc_block_control_python.hpp"
#include "rfnoc/rfnoc_python.hpp"
#include "stream_python.hpp"
#include "types/filters_python.hpp"
@@ -76,6 +77,7 @@ PYBIND11_MODULE(libpyuhd, m)
auto rfnoc_module = m.def_submodule("rfnoc", "RFNoC Objects");
export_rfnoc(rfnoc_module);
export_ddc_block_control(rfnoc_module);
+ export_duc_block_control(rfnoc_module);
// Register calibration submodule
auto cal_module = m.def_submodule("cal", "Calibration Objects");
diff --git a/host/python/uhd/rfnoc.py b/host/python/uhd/rfnoc.py
index 464013d62..cc57eb057 100644
--- a/host/python/uhd/rfnoc.py
+++ b/host/python/uhd/rfnoc.py
@@ -19,4 +19,5 @@ MBController = lib.rfnoc.mb_controller
Timekeeper = lib.rfnoc.timekeeper
NocBlock = lib.rfnoc.noc_block_base
DdcBlockControl = lib.rfnoc.ddc_block_control
+DucBlockControl = lib.rfnoc.duc_block_control