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
d9a31c6f
Commit
d9a31c6f
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
28660c54
No related branches found
Branches containing commit
No related tags found
1 merge request
!283
Resolve L2SDP-696
Pipeline
#36845
passed
2 years ago
Stage: simulation
Stage: synthesis
Changes
1
Pipelines
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_bst_offload.vhd
+4
-1
4 additions, 1 deletion
...station_bf/tb_lofar2_unb2c_sdp_station_bf_bst_offload.vhd
with
4 additions
and
1 deletion
applications/lofar2/designs/lofar2_unb2c_sdp_station/revisions/lofar2_unb2c_sdp_station_bf/tb_lofar2_unb2c_sdp_station_bf_bst_offload.vhd
+
4
−
1
View file @
d9a31c6f
...
@@ -117,6 +117,8 @@ ARCHITECTURE tb OF tb_lofar2_unb2c_sdp_station_bf_bst_offload IS
...
@@ -117,6 +117,8 @@ ARCHITECTURE tb OF tb_lofar2_unb2c_sdp_station_bf_bst_offload IS
-- eth statistics should be done after c_nof_sync + 1 intervals (+1 because first new_interval is skipped)
-- eth statistics should be done after c_nof_sync + 1 intervals (+1 because first new_interval is skipped)
CONSTANT
c_eth_runtime_timeout
:
TIME
:
=
(
c_nof_sync
+
2
)
*
c_nof_clk_per_sync
*
c_ext_clk_period
;
CONSTANT
c_eth_runtime_timeout
:
TIME
:
=
(
c_nof_sync
+
2
)
*
c_nof_clk_per_sync
*
c_ext_clk_period
;
CONSTANT
c_exp_ip_header_checksum
:
NATURAL
:
=
16
#
C76C
#
;
-- value obtained from rx_sdp_stat_header.ip.header_checksum in wave window
-- DUT
-- DUT
SIGNAL
ext_clk
:
STD_LOGIC
:
=
'0'
;
SIGNAL
ext_clk
:
STD_LOGIC
:
=
'0'
;
SIGNAL
pps
:
STD_LOGIC
:
=
'0'
;
SIGNAL
pps
:
STD_LOGIC
:
=
'0'
;
...
@@ -310,7 +312,8 @@ BEGIN
...
@@ -310,7 +312,8 @@ BEGIN
rx_sdp_stat_header
<=
func_sdp_map_stat_header
(
rx_hdr_fields_raw
);
rx_sdp_stat_header
<=
func_sdp_map_stat_header
(
rx_hdr_fields_raw
);
exp_sdp_stat_header
<=
func_sdp_compose_stat_header
(
c_exp_sdp_info
,
exp_sdp_stat_header
<=
func_sdp_compose_stat_header
(
c_exp_ip_header_checksum
,
-- calculated by IO eth
c_exp_sdp_info
,
"BST"
,
"BST"
,
'1'
,
-- fixed '1' for BST and XST, weighted_subbands_flag
'1'
,
-- fixed '1' for BST and XST, weighted_subbands_flag
c_gn_nr
,
c_gn_nr
,
...
...
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