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

Add ip_header_checksum argument to func_sdp_compose_stat_header().

parent 28660c54
No related branches found
No related tags found
1 merge request!283Resolve L2SDP-696
Pipeline #36845 passed
......@@ -117,6 +117,8 @@ ARCHITECTURE tb OF tb_lofar2_unb2c_sdp_station_bf_bst_offload IS
-- eth statistics should be done after c_nof_sync + 1 intervals (+1 because first new_interval is skipped)
CONSTANT c_eth_runtime_timeout : TIME := (c_nof_sync + 2) * c_nof_clk_per_sync * c_ext_clk_period;
CONSTANT c_exp_ip_header_checksum : NATURAL := 16#C76C#; -- value obtained from rx_sdp_stat_header.ip.header_checksum in wave window
-- DUT
SIGNAL ext_clk : STD_LOGIC := '0';
SIGNAL pps : STD_LOGIC := '0';
......@@ -310,7 +312,8 @@ BEGIN
rx_sdp_stat_header <= func_sdp_map_stat_header(rx_hdr_fields_raw);
exp_sdp_stat_header <= func_sdp_compose_stat_header(c_exp_sdp_info,
exp_sdp_stat_header <= func_sdp_compose_stat_header(c_exp_ip_header_checksum, -- calculated by IO eth
c_exp_sdp_info,
"BST",
'1', -- fixed '1' for BST and XST, weighted_subbands_flag
c_gn_nr,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment