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

BSN is from previous sync interval in which the statistics were measured.

parent b3911848
Branches
No related tags found
1 merge request!273Use t_parameters and t_input to register the statistics info. Make sure that...
Pipeline #34724 passed
...@@ -191,6 +191,7 @@ ARCHITECTURE tb OF tb_sdp_statistics_offload IS ...@@ -191,6 +191,7 @@ ARCHITECTURE tb OF tb_sdp_statistics_offload IS
SIGNAL rx_sdp_stat_header : t_sdp_stat_header; SIGNAL rx_sdp_stat_header : t_sdp_stat_header;
SIGNAL exp_sdp_stat_header : t_sdp_stat_header; SIGNAL exp_sdp_stat_header : t_sdp_stat_header;
SIGNAL cur_dp_bsn : NATURAL;
SIGNAL exp_dp_bsn : NATURAL; SIGNAL exp_dp_bsn : NATURAL;
SIGNAL exp_sst_signal_input : NATURAL; SIGNAL exp_sst_signal_input : NATURAL;
SIGNAL exp_bst_beamlet_index : NATURAL; SIGNAL exp_bst_beamlet_index : NATURAL;
...@@ -357,7 +358,8 @@ BEGIN ...@@ -357,7 +358,8 @@ BEGIN
-- verify it at rx_offload_sosi.eop. -- verify it at rx_offload_sosi.eop.
-- For all statistics -- For all statistics
exp_dp_bsn <= c_bsn_init + 1 + rx_sync_cnt * c_nof_block_per_sync; cur_dp_bsn <= c_bsn_init + 1 + rx_sync_cnt * c_nof_block_per_sync; -- in current sync interval
exp_dp_bsn <= cur_dp_bsn WHEN rising_edge(dp_clk) AND rx_offload_sosi.sync = '1'; -- previous sync interval
-- SST -- SST
exp_sst_signal_input <= rx_packet_cnt + c_sdp_S_pn * gn_index; exp_sst_signal_input <= rx_packet_cnt + c_sdp_S_pn * gn_index;
-- BST -- BST
...@@ -667,7 +669,7 @@ BEGIN ...@@ -667,7 +669,7 @@ BEGIN
weighted_subbands_flag => weighted_subbands_flag, weighted_subbands_flag => weighted_subbands_flag,
nof_crosslets => c_mm_nof_crosslets, nof_crosslets => c_mm_nof_crosslets,
crosslets_info_rec => in_crosslets_info_rec prev_crosslets_info_rec => in_crosslets_info_rec
); );
-- Verify crosslets_info functions -- Verify crosslets_info functions
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment