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
81ab6c60
Commit
81ab6c60
authored
1 year ago
by
Eric Kooistra
Browse files
Options
Downloads
Patches
Plain Diff
Correct c_exp_ip_header_checksum for gn_index.
parent
8013c6f7
No related branches found
No related tags found
1 merge request
!360
Resolve L2SDP-965
Pipeline
#60993
passed
1 year ago
Stage: linting
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.vhd
+3
-1
3 additions, 1 deletion
...2_unb2c_sdp_station_bf/tb_lofar2_unb2c_sdp_station_bf.vhd
with
3 additions
and
1 deletion
applications/lofar2/designs/lofar2_unb2c_sdp_station/revisions/lofar2_unb2c_sdp_station_bf/tb_lofar2_unb2c_sdp_station_bf.vhd
+
3
−
1
View file @
81ab6c60
...
...
@@ -232,7 +232,9 @@ architecture tb of tb_lofar2_unb2c_sdp_station_bf is
constant
c_cep_ip_src_addr
:
std_logic_vector
(
31
downto
0
)
:
=
c_sdp_cep_ip_src_addr_31_16
&
func_sdp_gn_index_to_ip_15_0
(
c_gn_index
);
constant
c_cep_udp_src_port
:
std_logic_vector
(
15
downto
0
)
:
=
c_sdp_cep_udp_src_port_15_8
&
c_id
;
constant
c_exp_ip_header_checksum
:
natural
:
=
16
#
5
BDE
#
;
-- value obtained from rx_sdp_cep_header.ip.header_checksum in wave window
-- value obtained from rx_sdp_cep_header.ip.header_checksum in wave window
--constant c_exp_ip_header_checksum : natural := 16#5BDE#; -- for c_unb_nr = 0, c_node_nr = 0
constant
c_exp_ip_header_checksum
:
natural
:
=
16
#
5
ADC
#
;
-- for c_unb_nr = 1, c_node_nr = 2
constant
c_exp_beamlet_scale
:
natural
:
=
natural
(
g_beamlet_scale
*
real
(
c_sdp_unit_beamlet_scale
));
-- c_sdp_unit_beamlet_scale = 2**15;
constant
c_exp_beamlet_index
:
natural
:
=
0
;
-- depends on beamset bset * c_sdp_S_sub_bf
...
...
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