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

Use g_sim_force_bsn_error

parent 7d6ce481
No related branches found
No related tags found
1 merge request!357Move func_sdp_bdo_cep_hdr_field_sel_dest() from sdp_bdo_pkg to...
...@@ -48,7 +48,8 @@ entity sdp_beamformer_output is ...@@ -48,7 +48,8 @@ entity sdp_beamformer_output is
generic ( generic (
g_beamset_id : natural := 0; g_beamset_id : natural := 0;
g_use_transpose : boolean := false; g_use_transpose : boolean := false;
g_use_multiple_destinations : boolean := false g_use_multiple_destinations : boolean := false;
g_sim_force_bsn_error : boolean := true
); );
port ( port (
dp_clk : in std_logic; dp_clk : in std_logic;
...@@ -167,7 +168,7 @@ begin ...@@ -167,7 +168,7 @@ begin
-- Force BSN error in simulation to verify payload error in -- Force BSN error in simulation to verify payload error in
-- tb_lofar2_unb2c_sdp_station_bf.vhd, this will cause two times payload -- tb_lofar2_unb2c_sdp_station_bf.vhd, this will cause two times payload
-- errors, one when BSN goes wrong and one when BSN goes ok again. -- errors, one when BSN goes wrong and one when BSN goes ok again.
if g_use_multiple_destinations = false then if g_sim_force_bsn_error = true then
dbg_bsn_offset <= '0'; dbg_bsn_offset <= '0';
if v_ref_time = 0 ns then if v_ref_time = 0 ns then
if in_sosi.sop = '1' then if in_sosi.sop = '1' then
......
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