From 09839fa23229daf00cb9b857806d47d2cac50057 Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Thu, 4 Nov 2021 11:55:33 +0100 Subject: rfnoc: Add CHDR width to make args This provides every block controller with a copy of its CHDR width. Note: mock blocks always get configured with a 64-bit CHDR width, to retain API compatibility. --- host/tests/rfnoc_propprop_test.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'host/tests/rfnoc_propprop_test.cpp') diff --git a/host/tests/rfnoc_propprop_test.cpp b/host/tests/rfnoc_propprop_test.cpp index bea432fff..1752e4c21 100644 --- a/host/tests/rfnoc_propprop_test.cpp +++ b/host/tests/rfnoc_propprop_test.cpp @@ -7,6 +7,7 @@ #include "rfnoc_graph_mock_nodes.hpp" #include #include +#include #include #include #include @@ -258,6 +259,7 @@ BOOST_AUTO_TEST_CASE(test_mtu_forwarding_policy_restrictions) mbc.make_args->num_input_ports = 2; mbc.make_args->num_output_ports = 2; mbc.make_args->mtu = 8000; + mbc.make_args->chdr_w = uhd::rfnoc::CHDR_W_64; mbc.make_args->reg_iface = mbc.reg_iface; mbc.make_args->tree = mbc.tree; mbc.make_args->tb_clk_iface = -- cgit v1.2.3