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

Use g_sim_sdp : t_sdp_sim := c_sdp_sim to overrule default SDP HW parameters in simulation.

parent 258ae9d5
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...
......@@ -44,7 +44,8 @@ USE eth_lib.eth_pkg.ALL;
ENTITY sdp_station IS
GENERIC (
g_technology : NATURAL := c_tech_arria10_e1sg;
g_sim : BOOLEAN := FALSE; --Overridden by TB
g_sim : BOOLEAN := FALSE; -- Overridden by TB
g_sim_sdp : t_sdp_sim := c_sdp_sim; -- Used when g_sim = TRUE, otherwise use HW defaults
g_wpfb : t_wpfb := c_sdp_wpfb_subbands;
g_bsn_nof_clk_per_sync : NATURAL := c_sdp_N_clk_per_sync; -- Default 200M, overide for short simulation
g_scope_selected_subband : NATURAL := 0;
......@@ -459,6 +460,7 @@ BEGIN
u_fsub : ENTITY work.node_sdp_filterbank
GENERIC MAP(
g_sim => g_sim,
g_sim_sdp => g_sim_sdp,
g_wpfb => g_wpfb,
g_scope_selected_subband => g_scope_selected_subband
)
......@@ -508,8 +510,9 @@ BEGIN
gen_use_xsub : IF g_use_xsub GENERATE
u_xsub : ENTITY work.node_sdp_correlator
GENERIC MAP(
g_sim => g_sim,
g_P_sq => g_P_sq
g_sim => g_sim,
g_sim_sdp => g_sim_sdp,
g_P_sq => g_P_sq
)
PORT MAP(
dp_clk => dp_clk,
......@@ -554,7 +557,8 @@ BEGIN
u_bf : ENTITY work.node_sdp_beamformer
GENERIC MAP(
g_sim => g_sim,
g_beamset_id => beamset_id,
g_sim_sdp => g_sim_sdp,
g_beamset_id => beamset_id,
g_scope_selected_beamlet => g_scope_selected_subband
)
PORT MAP(
......
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