From 6460e07f91bc468e7c094785093426ee07e26bcb Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Mon, 3 Jun 2019 19:22:23 -0700 Subject: rfnoc: noc_block_base: Pass args into block on construction These args come from the framework, e.g., because the UHD session was launched with them. --- host/lib/rfnoc/noc_block_base.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'host/lib/rfnoc') diff --git a/host/lib/rfnoc/noc_block_base.cpp b/host/lib/rfnoc/noc_block_base.cpp index 97aaeb002..f99d5aae7 100644 --- a/host/lib/rfnoc/noc_block_base.cpp +++ b/host/lib/rfnoc/noc_block_base.cpp @@ -25,6 +25,7 @@ noc_block_base::noc_block_base(make_args_ptr make_args) , _num_output_ports(make_args->num_output_ports) , _clock_iface(make_args->clk_iface) , _mb_controller(std::move(make_args->mb_control)) + , _block_args(make_args->args) { // First, create one tick_rate property for every port _tick_rate_props.reserve(get_num_input_ports() + get_num_output_ports()); -- cgit v1.2.3