diff options
author | Martin Braun <martin.braun@ettus.com> | 2021-11-04 11:55:33 +0100 |
---|---|---|
committer | Aaron Rossetto <aaron.rossetto@ni.com> | 2021-11-12 12:11:33 -0800 |
commit | 09839fa23229daf00cb9b857806d47d2cac50057 (patch) | |
tree | 09068ed6dbda6747b1a1730885746c120c6eb934 /host/tests | |
parent | bccc2b49ab25551c6fc104a0b69f69121b76031d (diff) | |
download | uhd-09839fa23229daf00cb9b857806d47d2cac50057.tar.gz uhd-09839fa23229daf00cb9b857806d47d2cac50057.tar.bz2 uhd-09839fa23229daf00cb9b857806d47d2cac50057.zip |
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.
Diffstat (limited to 'host/tests')
-rw-r--r-- | host/tests/rfnoc_propprop_test.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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 <uhd/rfnoc/mock_block.hpp> #include <uhd/rfnoc/noc_block_base.hpp> +#include <uhd/rfnoc/rfnoc_types.hpp> #include <uhd/utils/log.hpp> #include <uhdlib/rfnoc/clock_iface.hpp> #include <uhdlib/rfnoc/graph.hpp> @@ -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 = |