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

Use g_sim_sdp : t_sdp_sim := c_sdp_sim to determine statistics g_offload_time...

Use g_sim_sdp : t_sdp_sim := c_sdp_sim to determine statistics g_offload_time for sim and default c_sdp_offload_time on HW. And to determine g_ctrl_interval_size_min for XST in sim and on HW.
parent ee9942a5
Branches
No related tags found
1 merge request!175Added t_sdp_sim. Add func_sdp_get_stat_*() functions to determine the header...
...@@ -40,8 +40,8 @@ USE work.sdp_pkg.ALL; ...@@ -40,8 +40,8 @@ USE work.sdp_pkg.ALL;
ENTITY node_sdp_correlator IS ENTITY node_sdp_correlator IS
GENERIC ( GENERIC (
g_sim : BOOLEAN := FALSE; g_sim : BOOLEAN := FALSE;
g_P_sq : NATURAL := c_sdp_P_sq; g_sim_sdp : t_sdp_sim := c_sdp_sim;
g_offload_time : NATURAL := c_sdp_offload_time g_P_sq : NATURAL := c_sdp_P_sq
); );
PORT ( PORT (
dp_clk : IN STD_LOGIC; dp_clk : IN STD_LOGIC;
...@@ -129,7 +129,8 @@ BEGIN ...@@ -129,7 +129,8 @@ BEGIN
--------------------------------------------------------------- ---------------------------------------------------------------
u_crosslets_subband_select : ENTITY work.sdp_crosslets_subband_select u_crosslets_subband_select : ENTITY work.sdp_crosslets_subband_select
GENERIC MAP ( GENERIC MAP (
g_N_crosslets => c_sdp_N_crosslets_max g_N_crosslets => c_sdp_N_crosslets_max,
g_ctrl_interval_size_min => sel_a_b(g_sim, g_sim_sdp.xst_nof_clk_per_sync_min, c_sdp_xst_nof_clk_per_sync_min)
) )
PORT MAP( PORT MAP(
dp_clk => dp_clk, dp_clk => dp_clk,
...@@ -272,7 +273,7 @@ BEGIN ...@@ -272,7 +273,7 @@ BEGIN
u_sdp_xst_udp_offload: ENTITY work.sdp_statistics_offload u_sdp_xst_udp_offload: ENTITY work.sdp_statistics_offload
GENERIC MAP ( GENERIC MAP (
g_statistics_type => "XST", g_statistics_type => "XST",
g_offload_time => g_offload_time, g_offload_time => sel_a_b(g_sim, g_sim_sdp.offload_time, c_sdp_offload_time),
g_P_sq => g_P_sq g_P_sq => g_P_sq
) )
PORT MAP ( PORT MAP (
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment