aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/rfnoc/noc_block_base.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'host/lib/rfnoc/noc_block_base.cpp')
-rw-r--r--host/lib/rfnoc/noc_block_base.cpp18
1 files changed, 18 insertions, 0 deletions
diff --git a/host/lib/rfnoc/noc_block_base.cpp b/host/lib/rfnoc/noc_block_base.cpp
index 3cacc455b..838e05e74 100644
--- a/host/lib/rfnoc/noc_block_base.cpp
+++ b/host/lib/rfnoc/noc_block_base.cpp
@@ -5,7 +5,25 @@
//
#include <uhd/rfnoc/noc_block_base.hpp>
+#include <uhd/rfnoc/register_iface.hpp>
#include <uhd/exception.hpp>
using namespace uhd::rfnoc;
+/******************************************************************************
+ * Structors
+ *****************************************************************************/
+noc_block_base::noc_block_base(make_args_ptr make_args)
+ : register_iface_holder(std::move(make_args->reg_iface))
+ , _noc_id(make_args->noc_id)
+ , _block_id(make_args->block_id)
+ , _num_input_ports(make_args->num_input_ports)
+ , _num_output_ports(make_args->num_output_ports)
+{
+}
+
+noc_block_base::~noc_block_base()
+{
+ // nop
+}
+