diff options
author | Wade Fife <wade.fife@ettus.com> | 2020-06-29 08:39:15 -0500 |
---|---|---|
committer | Aaron Rossetto <aaron.rossetto@ni.com> | 2020-06-29 14:03:17 -0500 |
commit | 1cef9d62d698a7cc33f936ab3df32e6dcd933487 (patch) | |
tree | 6b03f1d895e446ca77ebbe0cf1710eac06a887fc /fpga/usrp3/lib | |
parent | f2509fd88c819e5222014442741f757c7fcba5fa (diff) | |
download | uhd-1cef9d62d698a7cc33f936ab3df32e6dcd933487.tar.gz uhd-1cef9d62d698a7cc33f936ab3df32e6dcd933487.tar.bz2 uhd-1cef9d62d698a7cc33f936ab3df32e6dcd933487.zip |
fpga: rfnoc: Fix chdr_update_length function
Diffstat (limited to 'fpga/usrp3/lib')
-rw-r--r-- | fpga/usrp3/lib/rfnoc/core/rfnoc_chdr_utils.vh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fpga/usrp3/lib/rfnoc/core/rfnoc_chdr_utils.vh b/fpga/usrp3/lib/rfnoc/core/rfnoc_chdr_utils.vh index 32376d12d..88d19c8cd 100644 --- a/fpga/usrp3/lib/rfnoc/core/rfnoc_chdr_utils.vh +++ b/fpga/usrp3/lib/rfnoc/core/rfnoc_chdr_utils.vh @@ -216,6 +216,6 @@ function [63:0] chdr_update_length( mdata_length = chdr_get_num_mdata(base_hdr) * (chdr_w/8); length = header_length + mdata_length + payload_length; - chdr_update_length = chdr_set_length(chdr_w, length); + chdr_update_length = chdr_set_length(base_hdr, length); end endfunction |