diff options
author | Aaron Rossetto <aaron.rossetto@ni.com> | 2020-06-01 14:56:16 -0500 |
---|---|---|
committer | Aaron Rossetto <aaron.rossetto@ni.com> | 2020-06-09 07:09:34 -0500 |
commit | 1117ef6cf0622d9ab1748b54acf91f0dd2f7d6bb (patch) | |
tree | 8fea58dd4c1c16e59c1cfebdbca3e4bc911846e2 /host/python | |
parent | 5d861ec14f5fdbdaa709d560946a3b77499c7858 (diff) | |
download | uhd-1117ef6cf0622d9ab1748b54acf91f0dd2f7d6bb.tar.gz uhd-1117ef6cf0622d9ab1748b54acf91f0dd2f7d6bb.tar.bz2 uhd-1117ef6cf0622d9ab1748b54acf91f0dd2f7d6bb.zip |
python: Add Fosphor 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 | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/host/python/pyuhd.cpp b/host/python/pyuhd.cpp index 2d807e4ea..dacf60acf 100644 --- a/host/python/pyuhd.cpp +++ b/host/python/pyuhd.cpp @@ -16,6 +16,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/fosphor_block_control_python.hpp" #include "rfnoc/rfnoc_python.hpp" #include "stream_python.hpp" #include "types/filters_python.hpp" @@ -78,6 +79,7 @@ PYBIND11_MODULE(libpyuhd, m) export_rfnoc(rfnoc_module); export_ddc_block_control(rfnoc_module); export_duc_block_control(rfnoc_module); + export_fosphor_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 cc57eb057..c121d65a8 100644 --- a/host/python/uhd/rfnoc.py +++ b/host/python/uhd/rfnoc.py @@ -20,4 +20,5 @@ Timekeeper = lib.rfnoc.timekeeper NocBlock = lib.rfnoc.noc_block_base DdcBlockControl = lib.rfnoc.ddc_block_control DucBlockControl = lib.rfnoc.duc_block_control +FosphorBlockControl = lib.rfnoc.fosphor_block_control |