diff options
| author | Aaron Rossetto <aaron.rossetto@ni.com> | 2020-06-01 14:48:02 -0500 | 
|---|---|---|
| committer | Aaron Rossetto <aaron.rossetto@ni.com> | 2020-06-09 07:09:34 -0500 | 
| commit | 463dbf9ac3bca7b69331a4315404a6e6e6d29674 (patch) | |
| tree | ce90dccb145ee5609669b5ac5589cbf5078a44d0 /host/python | |
| parent | 04b8cca22b61c24ca0451b7655b46b85c9a7f310 (diff) | |
| download | uhd-463dbf9ac3bca7b69331a4315404a6e6e6d29674.tar.gz uhd-463dbf9ac3bca7b69331a4315404a6e6e6d29674.tar.bz2 uhd-463dbf9ac3bca7b69331a4315404a6e6e6d29674.zip  | |
python: Add DDC RFNoC block controller bindings
Diffstat (limited to 'host/python')
| -rw-r--r-- | host/python/pyuhd.cpp | 2 | ||||
| -rw-r--r-- | host/python/uhd/rfnoc.py | 2 | 
2 files changed, 4 insertions, 0 deletions
diff --git a/host/python/pyuhd.cpp b/host/python/pyuhd.cpp index 5e8c6424c..149a53bba 100644 --- a/host/python/pyuhd.cpp +++ b/host/python/pyuhd.cpp @@ -14,6 +14,7 @@  namespace py = pybind11;  #include "cal/cal_python.hpp" +#include "rfnoc/ddc_block_control_python.hpp"  #include "rfnoc/rfnoc_python.hpp"  #include "stream_python.hpp"  #include "types/filters_python.hpp" @@ -74,6 +75,7 @@ PYBIND11_MODULE(libpyuhd, m)      // Register RFNoC submodule      auto rfnoc_module = m.def_submodule("rfnoc", "RFNoC Objects");      export_rfnoc(rfnoc_module); +    export_ddc_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 af8200998..464013d62 100644 --- a/host/python/uhd/rfnoc.py +++ b/host/python/uhd/rfnoc.py @@ -18,3 +18,5 @@ RfnocGraph = lib.rfnoc.rfnoc_graph  MBController = lib.rfnoc.mb_controller  Timekeeper = lib.rfnoc.timekeeper  NocBlock = lib.rfnoc.noc_block_base +DdcBlockControl = lib.rfnoc.ddc_block_control +  | 
