aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/rfnoc
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2019-04-30 18:30:44 -0700
committerMartin Braun <martin.braun@ettus.com>2019-11-26 11:49:14 -0800
commit26e48e9224e5c62e2a7a7f42f5c7d0ccb7e9d5fd (patch)
tree44ae7e902ee6b6bcdaef6ffe074667d6342e38eb /host/lib/rfnoc
parent1341959e0448d5ba77258f9cca2893b8095247e1 (diff)
downloaduhd-26e48e9224e5c62e2a7a7f42f5c7d0ccb7e9d5fd.tar.gz
uhd-26e48e9224e5c62e2a7a7f42f5c7d0ccb7e9d5fd.tar.bz2
uhd-26e48e9224e5c62e2a7a7f42f5c7d0ccb7e9d5fd.zip
rfnoc: Add noc_block_base class
This is a parent class for all block controllers.
Diffstat (limited to 'host/lib/rfnoc')
-rw-r--r--host/lib/rfnoc/CMakeLists.txt1
-rw-r--r--host/lib/rfnoc/noc_block_base.cpp11
2 files changed, 12 insertions, 0 deletions
diff --git a/host/lib/rfnoc/CMakeLists.txt b/host/lib/rfnoc/CMakeLists.txt
index dce1f286b..9d691ac5e 100644
--- a/host/lib/rfnoc/CMakeLists.txt
+++ b/host/lib/rfnoc/CMakeLists.txt
@@ -20,6 +20,7 @@ LIBUHD_APPEND_SOURCES(
${CMAKE_CURRENT_SOURCE_DIR}/ctrl_iface.cpp
${CMAKE_CURRENT_SOURCE_DIR}/graph_impl.cpp
${CMAKE_CURRENT_SOURCE_DIR}/legacy_compat.cpp
+ ${CMAKE_CURRENT_SOURCE_DIR}/noc_block_base.cpp
${CMAKE_CURRENT_SOURCE_DIR}/node_ctrl_base.cpp
${CMAKE_CURRENT_SOURCE_DIR}/node.cpp
${CMAKE_CURRENT_SOURCE_DIR}/rate_node_ctrl.cpp
diff --git a/host/lib/rfnoc/noc_block_base.cpp b/host/lib/rfnoc/noc_block_base.cpp
new file mode 100644
index 000000000..3cacc455b
--- /dev/null
+++ b/host/lib/rfnoc/noc_block_base.cpp
@@ -0,0 +1,11 @@
+//
+// Copyright 2019 Ettus Research, a National Instruments Brand
+//
+// SPDX-License-Identifier: GPL-3.0-or-later
+//
+
+#include <uhd/rfnoc/noc_block_base.hpp>
+#include <uhd/exception.hpp>
+
+using namespace uhd::rfnoc;
+