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

Improve comments.

parent 2d6e2e16
Branches
No related tags found
1 merge request!283Resolve L2SDP-696
...@@ -59,8 +59,8 @@ ...@@ -59,8 +59,8 @@
-- 4) Select subband g_subband for beamlets in g_beamlet -- 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 -- 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 -- = 3, then w_x3 = g_bf_x_gain,phase and w_y3 = g_bf_y_gain,phase. The
-- other BF weights are 0. -- BF weights for all other beamlets (/= g_beamlet) are 0.
-- --
-- WG BF BF -- WG BF BF
-- si weight weight -- si weight weight
...@@ -855,7 +855,7 @@ BEGIN ...@@ -855,7 +855,7 @@ BEGIN
-- . Put wanted signal on g_sp input and remnant signal on the other inputs -- . 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 FOR S IN 0 TO c_sdp_S_pn-1 LOOP
v_offset := S * c_mm_span_reg_diag_wg; 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 + 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 + 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 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 ...@@ -951,7 +951,7 @@ BEGIN
FOR U IN 0 TO c_sdp_N_beamsets-1 LOOP FOR U IN 0 TO c_sdp_N_beamsets-1 LOOP
-- Same BF weights for both beamsets -- Same BF weights for both beamsets
FOR PB IN 0 TO c_sdp_N_pol_bf-1 LOOP 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 A IN 0 TO c_sdp_A_pn-1 LOOP
FOR P IN 0 TO c_sdp_N_pol-1 LOOP FOR P IN 0 TO c_sdp_N_pol-1 LOOP
v_S := A * c_sdp_N_pol + P; v_S := A * c_sdp_N_pol + P;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment