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
be8a2232
Commit
be8a2232
authored
2 years ago
by
Eric Kooistra
Browse files
Options
Downloads
Patches
Plain Diff
Clarify c_sdp_W_gn_id = 5.
parent
6f69f263
No related branches found
Branches containing commit
No related tags found
1 merge request
!273
Use t_parameters and t_input to register the statistics info. Make sure that...
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
applications/disturb2/libraries/disturb/src/vhdl/disturb_pkg.vhd
+3
-2
3 additions, 2 deletions
...tions/disturb2/libraries/disturb/src/vhdl/disturb_pkg.vhd
applications/lofar2/libraries/sdp/src/vhdl/sdp_pkg.vhd
+3
-2
3 additions, 2 deletions
applications/lofar2/libraries/sdp/src/vhdl/sdp_pkg.vhd
with
6 additions
and
4 deletions
applications/disturb2/libraries/disturb/src/vhdl/disturb_pkg.vhd
+
3
−
2
View file @
be8a2232
...
@@ -95,7 +95,7 @@ PACKAGE disturb_pkg is
...
@@ -95,7 +95,7 @@ PACKAGE disturb_pkg is
CONSTANT
c_disturb_W_crosslet
:
NATURAL
:
=
16
;
CONSTANT
c_disturb_W_crosslet
:
NATURAL
:
=
16
;
CONSTANT
c_disturb_W_beamlet_sum
:
NATURAL
:
=
18
;
CONSTANT
c_disturb_W_beamlet_sum
:
NATURAL
:
=
18
;
CONSTANT
c_disturb_W_beamlet
:
NATURAL
:
=
8
;
CONSTANT
c_disturb_W_beamlet
:
NATURAL
:
=
8
;
CONSTANT
c_disturb_W_gn_id
:
NATURAL
:
=
5
;
CONSTANT
c_disturb_W_gn_id
:
NATURAL
:
=
5
;
-- Use gn_id = ID MOD 32, so map ID to 0:31 range (2**5 = 32)
CONSTANT
c_disturb_W_statistic
:
NATURAL
:
=
64
;
CONSTANT
c_disturb_W_statistic
:
NATURAL
:
=
64
;
CONSTANT
c_disturb_W_statistic_sz
:
NATURAL
:
=
2
;
-- = c_disturb_W_statistic / c_word_w
CONSTANT
c_disturb_W_statistic_sz
:
NATURAL
:
=
2
;
-- = c_disturb_W_statistic / c_word_w
CONSTANT
c_disturb_W_sub_weight
:
NATURAL
:
=
16
;
-- = w in s(w, p), s = signed
CONSTANT
c_disturb_W_sub_weight
:
NATURAL
:
=
16
;
-- = w in s(w, p), s = signed
...
@@ -183,8 +183,9 @@ PACKAGE disturb_pkg is
...
@@ -183,8 +183,9 @@ PACKAGE disturb_pkg is
-- https://git.astron.nl/desp/hdl/-/blob/master/boards/uniboard2b/libraries/unb2b_board/src/vhdl/ctrl_unb2b_board.vhd
-- https://git.astron.nl/desp/hdl/-/blob/master/boards/uniboard2b/libraries/unb2b_board/src/vhdl/ctrl_unb2b_board.vhd
-- Can use same offload time for all statistics, because 1GbE mux will combine them
-- Can use same offload time for all statistics, because 1GbE mux will combine them
-- see https://support.astron.nl/confluence/display/L2M/L3+SDP+Testing+Notebook%3A+Statistics+offload
--CONSTANT c_disturb_offload_time : NATURAL := 13000; -- from wave window 62855nS / 5nS = 12571 cycles.
--CONSTANT c_disturb_offload_time : NATURAL := 13000; -- from wave window 62855nS / 5nS = 12571 cycles.
CONSTANT
c_disturb_offload_time
:
NATURAL
:
=
600000
;
--
see L2SDP-452
CONSTANT
c_disturb_offload_time
:
NATURAL
:
=
600000
;
--
600000 * 5 ns = 3 ms, so gn 31 starts after 93 ms
-- packet lengths, see ICD SC-SDP
-- packet lengths, see ICD SC-SDP
CONSTANT
c_disturb_nof_bytes_per_statistic
:
NATURAL
:
=
8
;
-- c_disturb_W_statistic_sz * c_word_sz = 2 * 4 = 8
CONSTANT
c_disturb_nof_bytes_per_statistic
:
NATURAL
:
=
8
;
-- c_disturb_W_statistic_sz * c_word_sz = 2 * 4 = 8
...
...
This diff is collapsed.
Click to expand it.
applications/lofar2/libraries/sdp/src/vhdl/sdp_pkg.vhd
+
3
−
2
View file @
be8a2232
...
@@ -94,7 +94,7 @@ PACKAGE sdp_pkg is
...
@@ -94,7 +94,7 @@ PACKAGE sdp_pkg is
CONSTANT
c_sdp_W_crosslet
:
NATURAL
:
=
16
;
CONSTANT
c_sdp_W_crosslet
:
NATURAL
:
=
16
;
CONSTANT
c_sdp_W_beamlet_sum
:
NATURAL
:
=
18
;
CONSTANT
c_sdp_W_beamlet_sum
:
NATURAL
:
=
18
;
CONSTANT
c_sdp_W_beamlet
:
NATURAL
:
=
8
;
CONSTANT
c_sdp_W_beamlet
:
NATURAL
:
=
8
;
CONSTANT
c_sdp_W_gn_id
:
NATURAL
:
=
5
;
CONSTANT
c_sdp_W_gn_id
:
NATURAL
:
=
5
;
-- Use gn_id = ID MOD 32, so map ID to 0:31 range (2**5 = 32)
CONSTANT
c_sdp_W_statistic
:
NATURAL
:
=
64
;
CONSTANT
c_sdp_W_statistic
:
NATURAL
:
=
64
;
CONSTANT
c_sdp_W_statistic_sz
:
NATURAL
:
=
2
;
-- = c_sdp_W_statistic / c_word_w
CONSTANT
c_sdp_W_statistic_sz
:
NATURAL
:
=
2
;
-- = c_sdp_W_statistic / c_word_w
CONSTANT
c_sdp_W_sub_weight
:
NATURAL
:
=
16
;
-- = w in s(w, p), s = signed
CONSTANT
c_sdp_W_sub_weight
:
NATURAL
:
=
16
;
-- = w in s(w, p), s = signed
...
@@ -189,8 +189,9 @@ PACKAGE sdp_pkg is
...
@@ -189,8 +189,9 @@ PACKAGE sdp_pkg is
-- https://git.astron.nl/desp/hdl/-/blob/master/boards/uniboard2b/libraries/unb2b_board/src/vhdl/ctrl_unb2b_board.vhd
-- https://git.astron.nl/desp/hdl/-/blob/master/boards/uniboard2b/libraries/unb2b_board/src/vhdl/ctrl_unb2b_board.vhd
-- Can use same offload time for all statistics, because 1GbE mux will combine them
-- Can use same offload time for all statistics, because 1GbE mux will combine them
-- see https://support.astron.nl/confluence/display/L2M/L3+SDP+Testing+Notebook%3A+Statistics+offload
--CONSTANT c_sdp_offload_time : NATURAL := 13000; -- from wave window 62855nS / 5nS = 12571 cycles.
--CONSTANT c_sdp_offload_time : NATURAL := 13000; -- from wave window 62855nS / 5nS = 12571 cycles.
CONSTANT
c_sdp_offload_time
:
NATURAL
:
=
600000
;
--
see L2SDP-452
CONSTANT
c_sdp_offload_time
:
NATURAL
:
=
600000
;
--
600000 * 5 ns = 3 ms, so gn 31 starts after 93 ms
-- packet lengths, see ICD SC-SDP
-- packet lengths, see ICD SC-SDP
CONSTANT
c_sdp_nof_bytes_per_statistic
:
NATURAL
:
=
8
;
-- c_sdp_W_statistic_sz * c_word_sz = 2 * 4 = 8
CONSTANT
c_sdp_nof_bytes_per_statistic
:
NATURAL
:
=
8
;
-- c_sdp_W_statistic_sz * c_word_sz = 2 * 4 = 8
...
...
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