diff --git a/applications/lofar2/designs/lofar2_unb2c_sdp_station/revisions/lofar2_unb2c_sdp_station_bf/tb_lofar2_unb2c_sdp_station_bf.vhd b/applications/lofar2/designs/lofar2_unb2c_sdp_station/revisions/lofar2_unb2c_sdp_station_bf/tb_lofar2_unb2c_sdp_station_bf.vhd index ead55fbb6a2101abf3fecd6c9f8b30b1271cbbcf..bbb36ddf3bc0b649ab7d8ec645bb1da7b8753f01 100644 --- a/applications/lofar2/designs/lofar2_unb2c_sdp_station/revisions/lofar2_unb2c_sdp_station_bf/tb_lofar2_unb2c_sdp_station_bf.vhd +++ b/applications/lofar2/designs/lofar2_unb2c_sdp_station/revisions/lofar2_unb2c_sdp_station_bf/tb_lofar2_unb2c_sdp_station_bf.vhd @@ -59,8 +59,8 @@ -- 4) Select subband g_subband for beamlets in g_beamlet -- -- 5) Apply BF weight to g_beamlet X beam and Y beam, so for example if g_sp --- = 3, then w_x3 = g_bf_x_gain/phase and w_y3 = = g_bf_x_gain/phase. The --- other BF weights are 0. +-- = 3, then w_x3 = g_bf_x_gain,phase and w_y3 = g_bf_y_gain,phase. The +-- BF weights for all other beamlets (/= g_beamlet) are 0. -- -- WG BF BF -- si weight weight @@ -855,7 +855,7 @@ BEGIN -- . Put wanted signal on g_sp input and remnant signal on the other inputs FOR S IN 0 TO c_sdp_S_pn-1 LOOP v_offset := S * c_mm_span_reg_diag_wg; - IF s = g_sp THEN + IF S = g_sp THEN mmf_mm_bus_wr(c_mm_file_reg_diag_wg, v_offset + 0, 1024*2**16 + 1, tb_clk); -- nof_samples, mode calc mmf_mm_bus_wr(c_mm_file_reg_diag_wg, v_offset + 1, INTEGER(c_wg_phase * c_diag_wg_phase_unit), tb_clk); -- phase offset in degrees mmf_mm_bus_wr(c_mm_file_reg_diag_wg, v_offset + 2, INTEGER(REAL(g_subband) * c_sdp_wg_subband_freq_unit), tb_clk); -- freq @@ -951,7 +951,7 @@ BEGIN FOR U IN 0 TO c_sdp_N_beamsets-1 LOOP -- Same BF weights for both beamsets FOR PB IN 0 TO c_sdp_N_pol_bf-1 LOOP - -- Same BF weights for both beamlet polarizations + -- Different BF weights for both beamlet polarizations FOR A IN 0 TO c_sdp_A_pn-1 LOOP FOR P IN 0 TO c_sdp_N_pol-1 LOOP v_S := A * c_sdp_N_pol + P;