aboutsummaryrefslogtreecommitdiffstats
path: root/host/python
diff options
context:
space:
mode:
authorAaron Rossetto <aaron.rossetto@ni.com>2020-06-01 15:31:21 -0500
committerAaron Rossetto <aaron.rossetto@ni.com>2020-06-09 07:12:15 -0500
commit65578ebd055c65f8e3ddf68f97cf1e0a4afdffa7 (patch)
tree84544bd69de9df366ef8b886bfda65862bbdce16 /host/python
parent378287b381edfd15dcb97bb2632ff5fb91933f6b (diff)
downloaduhd-65578ebd055c65f8e3ddf68f97cf1e0a4afdffa7.tar.gz
uhd-65578ebd055c65f8e3ddf68f97cf1e0a4afdffa7.tar.bz2
uhd-65578ebd055c65f8e3ddf68f97cf1e0a4afdffa7.zip
python: Add null 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 9ead86896..eed30ff32 100644
--- a/host/python/pyuhd.cpp
+++ b/host/python/pyuhd.cpp
@@ -18,6 +18,7 @@ namespace py = pybind11;
#include "rfnoc/duc_block_control_python.hpp"
#include "rfnoc/fir_filter_block_control_python.hpp"
#include "rfnoc/fosphor_block_control_python.hpp"
+#include "rfnoc/null_block_control_python.hpp"
#include "rfnoc/radio_control_python.hpp"
#include "rfnoc/rfnoc_python.hpp"
#include "rfnoc/vector_iir_block_control_python.hpp"
@@ -84,6 +85,7 @@ PYBIND11_MODULE(libpyuhd, m)
export_duc_block_control(rfnoc_module);
export_fosphor_block_control(rfnoc_module);
export_fir_filter_block_control(rfnoc_module);
+ export_null_block_control(rfnoc_module);
export_radio_control(rfnoc_module);
export_vector_iir_block_control(rfnoc_module);
diff --git a/host/python/uhd/rfnoc.py b/host/python/uhd/rfnoc.py
index 677b3c893..bc8217d68 100644
--- a/host/python/uhd/rfnoc.py
+++ b/host/python/uhd/rfnoc.py
@@ -22,6 +22,7 @@ DdcBlockControl = lib.rfnoc.ddc_block_control
DucBlockControl = lib.rfnoc.duc_block_control
FosphorBlockControl = lib.rfnoc.fosphor_block_control
FirFilterBlockControl = lib.rfnoc.fir_filter_block_control
+NullBlockControl = lib.rfnoc.null_block_control
RadioControl = lib.rfnoc.radio_control
VectorIirBlockControl = lib.rfnoc.vector_iir_block_control