From 5d861ec14f5fdbdaa709d560946a3b77499c7858 Mon Sep 17 00:00:00 2001 From: Aaron Rossetto Date: Mon, 1 Jun 2020 14:51:53 -0500 Subject: python: Add DUC RFNoC block controller bindings --- 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 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 -- cgit v1.2.3