From 0bb396f6c50d7968dc2257a1cf5a686ec5a5053a Mon Sep 17 00:00:00 2001 From: Eric Kooistra <kooistra@astron.nl> Date: Tue, 26 Sep 2023 15:00:51 +0200 Subject: [PATCH] Use g_sim_force_bsn_error --- .../lofar2/libraries/sdp/src/vhdl/sdp_beamformer_output.vhd | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/applications/lofar2/libraries/sdp/src/vhdl/sdp_beamformer_output.vhd b/applications/lofar2/libraries/sdp/src/vhdl/sdp_beamformer_output.vhd index cff23d0f59..984d6a34d0 100644 --- a/applications/lofar2/libraries/sdp/src/vhdl/sdp_beamformer_output.vhd +++ b/applications/lofar2/libraries/sdp/src/vhdl/sdp_beamformer_output.vhd @@ -48,7 +48,8 @@ entity sdp_beamformer_output is generic ( g_beamset_id : natural := 0; 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 ( dp_clk : in std_logic; @@ -167,7 +168,7 @@ begin -- Force BSN error in simulation to verify payload error in -- 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. - if g_use_multiple_destinations = false then + if g_sim_force_bsn_error = true then dbg_bsn_offset <= '0'; if v_ref_time = 0 ns then if in_sosi.sop = '1' then -- GitLab