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/lib/rfnoc/rfnoc_graph.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'host/lib/rfnoc/rfnoc_graph.cpp') diff --git a/host/lib/rfnoc/rfnoc_graph.cpp b/host/lib/rfnoc/rfnoc_graph.cpp index f6b07a36f..35a5cb28c 100644 --- a/host/lib/rfnoc/rfnoc_graph.cpp +++ b/host/lib/rfnoc/rfnoc_graph.cpp @@ -718,6 +718,7 @@ private: make_args_uptr->num_output_ports = block_info.num_outputs; make_args_uptr->mtu = (1 << block_info.data_mtu) * chdr_w_to_bits(mb.get_chdr_w()) / 8; + make_args_uptr->chdr_w = mb.get_chdr_w(); make_args_uptr->reg_iface = block_reg_iface; make_args_uptr->tb_clk_iface = tb_clk_iface; make_args_uptr->ctrlport_clk_iface = ctrlport_clk_iface; -- cgit v1.2.3