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/lib/rfnoc/noc_block_base.cpp | |
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/lib/rfnoc/noc_block_base.cpp')
-rw-r--r-- | host/lib/rfnoc/noc_block_base.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/host/lib/rfnoc/noc_block_base.cpp b/host/lib/rfnoc/noc_block_base.cpp index dd9ac2455..c2db597cb 100644 --- a/host/lib/rfnoc/noc_block_base.cpp +++ b/host/lib/rfnoc/noc_block_base.cpp @@ -23,6 +23,7 @@ noc_block_base::noc_block_base(make_args_ptr make_args) , _block_id(make_args->block_id) , _num_input_ports(make_args->num_input_ports) , _num_output_ports(make_args->num_output_ports) + , _chdr_w(make_args->chdr_w) , _ctrlport_clock_iface(make_args->ctrlport_clk_iface) , _tb_clock_iface(make_args->tb_clk_iface) , _mb_controller(std::move(make_args->mb_control)) |