From 1ec7380cf708ab335b339f374d1f64826c700154 Mon Sep 17 00:00:00 2001 From: mattprost Date: Tue, 14 Jul 2020 17:28:19 -0500 Subject: python: Add moving average RFNoC block controller bindings Signed-off-by: mattprost --- host/python/pyuhd.cpp | 2 ++ host/python/uhd/rfnoc.py | 1 + 2 files changed, 3 insertions(+) (limited to 'host/python') diff --git a/host/python/pyuhd.cpp b/host/python/pyuhd.cpp index 9f1a07c43..6012ddfd5 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/moving_average_block_control_python.hpp" #include "rfnoc/null_block_control_python.hpp" #include "rfnoc/radio_control_python.hpp" #include "rfnoc/rfnoc_python.hpp" @@ -89,6 +90,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_moving_average_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 60699226e..01f632a83 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 +MovingAverageBlockControl = lib.rfnoc.moving_average_block_control NullBlockControl = lib.rfnoc.null_block_control RadioControl = lib.rfnoc.radio_control VectorIirBlockControl = lib.rfnoc.vector_iir_block_control -- cgit v1.2.3