Skip to content
Snippets Groups Projects
Commit 28660c54 authored by Eric Kooistra's avatar Eric Kooistra
Browse files

Add ip_header_checksum argument to func_sdp_compose_stat_header().

parent f8dd29e0
No related branches found
No related tags found
1 merge request!283Resolve L2SDP-696
...@@ -98,6 +98,8 @@ ARCHITECTURE tb OF tb_sdp_statistics_offload IS ...@@ -98,6 +98,8 @@ ARCHITECTURE tb OF tb_sdp_statistics_offload IS
CONSTANT c_nof_signal_inputs : NATURAL := func_sdp_get_stat_nof_signal_inputs(g_statistics_type); CONSTANT c_nof_signal_inputs : NATURAL := func_sdp_get_stat_nof_signal_inputs(g_statistics_type);
CONSTANT c_nof_packets_max : NATURAL := func_sdp_get_stat_nof_packets(g_statistics_type, c_sdp_S_pn, g_P_sq, c_sdp_N_crosslets_max); CONSTANT c_nof_packets_max : NATURAL := func_sdp_get_stat_nof_packets(g_statistics_type, c_sdp_S_pn, g_P_sq, c_sdp_N_crosslets_max);
CONSTANT c_exp_ip_header_checksum : NATURAL := 0; -- 0 in this local tb, calculated by IO eth when used in design
CONSTANT c_exp_sdp_info : t_sdp_info := (TO_UVEC(601, 16), -- station_id CONSTANT c_exp_sdp_info : t_sdp_info := (TO_UVEC(601, 16), -- station_id
'0', -- antenna_band_index '0', -- antenna_band_index
x"FFFFFFFF", -- observation_id x"FFFFFFFF", -- observation_id
...@@ -385,7 +387,8 @@ BEGIN ...@@ -385,7 +387,8 @@ BEGIN
-- . prepare expected XST signal_input_B index, assume crosslet transport in positive direction -- . prepare expected XST signal_input_B index, assume crosslet transport in positive direction
exp_xst_signal_input_B <= (source_gn MOD c_sdp_N_pn_max) * c_sdp_S_pn; exp_xst_signal_input_B <= (source_gn MOD c_sdp_N_pn_max) * c_sdp_S_pn;
exp_sdp_stat_header <= func_sdp_compose_stat_header(exp_sdp_info, exp_sdp_stat_header <= func_sdp_compose_stat_header(c_exp_ip_header_checksum,
exp_sdp_info,
g_statistics_type, g_statistics_type,
weighted_subbands_flag, weighted_subbands_flag,
gn_index, gn_index,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment