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
089f1a6b
Commit
089f1a6b
authored
3 years ago
by
Eric Kooistra
Browse files
Options
Downloads
Patches
Plain Diff
Define c_data_size = 2 and c_nof_data_per_step = 2 using constants from sdp_pkg.vhd.
parent
cac19bf6
No related branches found
No related tags found
1 merge request
!175
Added t_sdp_sim. Add func_sdp_get_stat_*() functions to determine the header...
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
applications/lofar2/libraries/sdp/src/vhdl/sdp_statistics_offload.vhd
+7
-2
7 additions, 2 deletions
.../lofar2/libraries/sdp/src/vhdl/sdp_statistics_offload.vhd
with
7 additions
and
2 deletions
applications/lofar2/libraries/sdp/src/vhdl/sdp_statistics_offload.vhd
+
7
−
2
View file @
089f1a6b
...
@@ -103,8 +103,13 @@ ARCHITECTURE str OF sdp_statistics_offload IS
...
@@ -103,8 +103,13 @@ ARCHITECTURE str OF sdp_statistics_offload IS
CONSTANT
c_beamlet_id
:
NATURAL
:
=
g_beamset_id
*
c_sdp_S_sub_bf
;
CONSTANT
c_beamlet_id
:
NATURAL
:
=
g_beamset_id
*
c_sdp_S_sub_bf
;
-- payload data
-- payload data
CONSTANT
c_data_size
:
NATURAL
:
=
2
;
CONSTANT
c_data_size
:
NATURAL
:
=
c_sdp_stat_data_sz
;
-- = 2
CONSTANT
c_nof_data_per_step
:
NATURAL
:
=
2
;
-- Note:
-- . c_nof_data_per_step = 2 for all g_statistics_type, but for different
-- reasons, because c_sdp_N_pol_bf = c_nof_complex = c_sdp_Q_fft = 2
CONSTANT
c_nof_data_per_step
:
NATURAL
:
=
sel_a_b
(
g_statistics_type
=
"BST"
,
c_sdp_N_pol_bf
,
sel_a_b
(
g_statistics_type
=
"XST"
,
c_nof_complex
,
c_sdp_Q_fft
));
-- SST
CONSTANT
c_step_size
:
NATURAL
:
=
sel_a_b
(
g_statistics_type
=
"BST"
,
c_data_size
,
CONSTANT
c_step_size
:
NATURAL
:
=
sel_a_b
(
g_statistics_type
=
"BST"
,
c_data_size
,
sel_a_b
(
g_statistics_type
=
"XST"
,
c_data_size
,
sel_a_b
(
g_statistics_type
=
"XST"
,
c_data_size
,
c_data_size
*
c_nof_data_per_step
));
-- SST
c_data_size
*
c_nof_data_per_step
));
-- SST
...
...
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