fpga: rfnoc: Fix chdr_update_length function
Original-commit: 1cef9d62d698a7cc33f936ab3df32e6dcd933487
This commit is contained in:
committed by
Aaron Rossetto
parent
9ee2157f52
commit
c3f45a92a0
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user