Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
HDL
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
RTSD
HDL
Commits
60de2475
Commit
60de2475
authored
2 years ago
by
Eric Kooistra
Browse files
Options
Downloads
Patches
Plain Diff
Improve comments.
parent
2d6e2e16
Branches
Branches containing commit
No related tags found
1 merge request
!283
Resolve L2SDP-696
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
applications/lofar2/designs/lofar2_unb2c_sdp_station/revisions/lofar2_unb2c_sdp_station_bf/tb_lofar2_unb2c_sdp_station_bf.vhd
+4
-4
4 additions, 4 deletions
...2_unb2c_sdp_station_bf/tb_lofar2_unb2c_sdp_station_bf.vhd
with
4 additions
and
4 deletions
applications/lofar2/designs/lofar2_unb2c_sdp_station/revisions/lofar2_unb2c_sdp_station_bf/tb_lofar2_unb2c_sdp_station_bf.vhd
+
4
−
4
View file @
60de2475
...
@@ -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
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment