diff options
author | Aaron Rossetto <aaron.rossetto@ni.com> | 2020-08-05 07:37:38 -0500 |
---|---|---|
committer | Aaron Rossetto <aaron.rossetto@ni.com> | 2020-08-05 07:47:22 -0500 |
commit | cf614ae5e053d06e55b50b45aa9fec65d1a2c481 (patch) | |
tree | 16338ee41c85c500d05f36a3a5453b5e8011c4b2 /host/python | |
parent | 72e4cc81d2d3305b7e5b9d6f884b10120547700e (diff) | |
download | uhd-cf614ae5e053d06e55b50b45aa9fec65d1a2c481.tar.gz uhd-cf614ae5e053d06e55b50b45aa9fec65d1a2c481.tar.bz2 uhd-cf614ae5e053d06e55b50b45aa9fec65d1a2c481.zip |
python: Add Keep One in N block controller bindings
Diffstat (limited to 'host/python')
-rw-r--r-- | host/python/pyuhd.cpp | 2 | ||||
-rw-r--r-- | host/python/uhd/rfnoc.py | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/host/python/pyuhd.cpp b/host/python/pyuhd.cpp index 605f80b86..bb564c276 100644 --- a/host/python/pyuhd.cpp +++ b/host/python/pyuhd.cpp @@ -19,6 +19,7 @@ namespace py = pybind11; #include "rfnoc/fft_block_control_python.hpp" #include "rfnoc/fir_filter_block_control_python.hpp" #include "rfnoc/fosphor_block_control_python.hpp" +#include "rfnoc/keep_one_in_n_block_control_python.hpp" #include "rfnoc/moving_average_block_control_python.hpp" #include "rfnoc/null_block_control_python.hpp" #include "rfnoc/radio_control_python.hpp" @@ -93,6 +94,7 @@ PYBIND11_MODULE(libpyuhd, m) export_fft_block_control(rfnoc_module); export_fosphor_block_control(rfnoc_module); export_fir_filter_block_control(rfnoc_module); + export_keep_one_in_n_block_control(rfnoc_module); export_moving_average_block_control(rfnoc_module); export_null_block_control(rfnoc_module); export_radio_control(rfnoc_module); diff --git a/host/python/uhd/rfnoc.py b/host/python/uhd/rfnoc.py index 05b356e29..c355777b0 100644 --- a/host/python/uhd/rfnoc.py +++ b/host/python/uhd/rfnoc.py @@ -23,6 +23,7 @@ DucBlockControl = lib.rfnoc.duc_block_control FftBlockControl = lib.rfnoc.fft_block_control FosphorBlockControl = lib.rfnoc.fosphor_block_control FirFilterBlockControl = lib.rfnoc.fir_filter_block_control +KeepOneInNBlockControl = lib.rfnoc.keep_one_in_n_block_control MovingAverageBlockControl = lib.rfnoc.moving_average_block_control NullBlockControl = lib.rfnoc.null_block_control RadioControl = lib.rfnoc.radio_control |