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
28660c54
Commit
28660c54
authored
2 years ago
by
Eric Kooistra
Browse files
Options
Downloads
Patches
Plain Diff
Add ip_header_checksum argument to func_sdp_compose_stat_header().
parent
f8dd29e0
No related branches found
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/libraries/sdp/tb/vhdl/tb_sdp_statistics_offload.vhd
+4
-1
4 additions, 1 deletion
...ofar2/libraries/sdp/tb/vhdl/tb_sdp_statistics_offload.vhd
with
4 additions
and
1 deletion
applications/lofar2/libraries/sdp/tb/vhdl/tb_sdp_statistics_offload.vhd
+
4
−
1
View file @
28660c54
...
@@ -98,6 +98,8 @@ ARCHITECTURE tb OF tb_sdp_statistics_offload IS
...
@@ -98,6 +98,8 @@ ARCHITECTURE tb OF tb_sdp_statistics_offload IS
CONSTANT
c_nof_signal_inputs
:
NATURAL
:
=
func_sdp_get_stat_nof_signal_inputs
(
g_statistics_type
);
CONSTANT
c_nof_signal_inputs
:
NATURAL
:
=
func_sdp_get_stat_nof_signal_inputs
(
g_statistics_type
);
CONSTANT
c_nof_packets_max
:
NATURAL
:
=
func_sdp_get_stat_nof_packets
(
g_statistics_type
,
c_sdp_S_pn
,
g_P_sq
,
c_sdp_N_crosslets_max
);
CONSTANT
c_nof_packets_max
:
NATURAL
:
=
func_sdp_get_stat_nof_packets
(
g_statistics_type
,
c_sdp_S_pn
,
g_P_sq
,
c_sdp_N_crosslets_max
);
CONSTANT
c_exp_ip_header_checksum
:
NATURAL
:
=
0
;
-- 0 in this local tb, calculated by IO eth when used in design
CONSTANT
c_exp_sdp_info
:
t_sdp_info
:
=
(
TO_UVEC
(
601
,
16
),
-- station_id
CONSTANT
c_exp_sdp_info
:
t_sdp_info
:
=
(
TO_UVEC
(
601
,
16
),
-- station_id
'0'
,
-- antenna_band_index
'0'
,
-- antenna_band_index
x"FFFFFFFF"
,
-- observation_id
x"FFFFFFFF"
,
-- observation_id
...
@@ -385,7 +387,8 @@ BEGIN
...
@@ -385,7 +387,8 @@ BEGIN
-- . prepare expected XST signal_input_B index, assume crosslet transport in positive direction
-- . prepare expected XST signal_input_B index, assume crosslet transport in positive direction
exp_xst_signal_input_B
<=
(
source_gn
MOD
c_sdp_N_pn_max
)
*
c_sdp_S_pn
;
exp_xst_signal_input_B
<=
(
source_gn
MOD
c_sdp_N_pn_max
)
*
c_sdp_S_pn
;
exp_sdp_stat_header
<=
func_sdp_compose_stat_header
(
exp_sdp_info
,
exp_sdp_stat_header
<=
func_sdp_compose_stat_header
(
c_exp_ip_header_checksum
,
exp_sdp_info
,
g_statistics_type
,
g_statistics_type
,
weighted_subbands_flag
,
weighted_subbands_flag
,
gn_index
,
gn_index
,
...
...
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