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

Define c_data_size = 2 and c_nof_data_per_step = 2 using constants from sdp_pkg.vhd.

parent cac19bf6
No related branches found
No related tags found
1 merge request!175Added t_sdp_sim. Add func_sdp_get_stat_*() functions to determine the header...
...@@ -103,8 +103,13 @@ ARCHITECTURE str OF sdp_statistics_offload IS ...@@ -103,8 +103,13 @@ ARCHITECTURE str OF sdp_statistics_offload IS
CONSTANT c_beamlet_id : NATURAL := g_beamset_id * c_sdp_S_sub_bf; CONSTANT c_beamlet_id : NATURAL := g_beamset_id * c_sdp_S_sub_bf;
-- payload data -- payload data
CONSTANT c_data_size : NATURAL := 2; CONSTANT c_data_size : NATURAL := c_sdp_stat_data_sz; -- = 2
CONSTANT c_nof_data_per_step : NATURAL := 2; -- Note:
-- . c_nof_data_per_step = 2 for all g_statistics_type, but for different
-- reasons, because c_sdp_N_pol_bf = c_nof_complex = c_sdp_Q_fft = 2
CONSTANT c_nof_data_per_step : NATURAL := sel_a_b(g_statistics_type="BST", c_sdp_N_pol_bf,
sel_a_b(g_statistics_type="XST", c_nof_complex,
c_sdp_Q_fft)); -- SST
CONSTANT c_step_size : NATURAL := sel_a_b(g_statistics_type="BST", c_data_size, CONSTANT c_step_size : NATURAL := sel_a_b(g_statistics_type="BST", c_data_size,
sel_a_b(g_statistics_type="XST", c_data_size, sel_a_b(g_statistics_type="XST", c_data_size,
c_data_size * c_nof_data_per_step)); -- SST c_data_size * c_nof_data_per_step)); -- SST
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment