Skip to content
GitLab
Explore
Sign in
Register
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
Merge requests
!424
Resolve
L2SDP-1059
"B"
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Resolve
L2SDP-1059
"B"
L2SDP-1059b
into
L2SDP-LIFT
Overview
0
Commits
9
Pipelines
1
Changes
1
Merged
Eric Kooistra
requested to merge
L2SDP-1059b
into
L2SDP-LIFT
1 month ago
Overview
0
Commits
9
Pipelines
1
Changes
1
Expand
Closes
L2SDP-1059
0
0
Merge request reports
Viewing commit
1e63528a
Prev
Next
Show latest version
1 file
+
5
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
1e63528a
Add constants W_ant, W_bsn, W_rsn.
· 1e63528a
Eric Kooistra
authored
1 month ago
applications/lofar2/libraries/sdp/src/vhdl/sdp_pkg.vhd
+
5
−
1
Options
@@ -26,6 +26,7 @@
-- Description: See [1]
-- References:
-- . [1] https://support.astron.nl/confluence/display/L2M/L3+SDP+Decision%3A+SDP+Parameter+definitions
-- . [2] https://support.astron.nl/confluence/display/L2M/L2+STAT+Decision%3A+Timing+in+Station
-------------------------------------------------------------------------------
library
IEEE
,
common_lib
,
rTwoSDF_lib
,
fft_lib
,
filter_lib
,
wpfb_lib
,
diag_lib
,
tech_jesd204b_lib
;
use
IEEE
.
std_logic_1164
.
all
;
@@ -79,6 +80,7 @@ package sdp_pkg is
constant
c_sdp_N_sub
:
natural
:
=
512
;
constant
c_sdp_N_sync_rcu
:
natural
:
=
1
;
constant
c_sdp_N_taps
:
natural
:
=
16
;
constant
c_sdp_N_ring_nof_mac10g
:
natural
:
=
3
;
-- nof 10GbE per lane in qsfp_0, ring_0, ring_1
constant
c_sdp_P_sq
:
natural
:
=
9
;
-- = N_pn / 2 + 1 square correlator cells for XST
constant
c_sdp_P_sum
:
natural
:
=
2
;
-- sums of two in ring beamformer adder tree
constant
c_sdp_Q_fft
:
natural
:
=
2
;
@@ -93,6 +95,9 @@ package sdp_pkg is
constant
c_sdp_V_si_histogram
:
natural
:
=
512
;
constant
c_sdp_W_adc
:
natural
:
=
14
;
constant
c_sdp_W_adc_jesd
:
natural
:
=
16
;
constant
c_sdp_W_ant
:
natural
:
=
c_sdp_W_adc
*
c_sdp_N_pol
;
-- = 28
constant
c_sdp_W_bsn
:
natural
:
=
64
;
-- block sequence number [2]
constant
c_sdp_W_rsn
:
natural
:
=
64
;
-- raw sample sequence number [2]
constant
c_sdp_W_fir_coef
:
natural
:
=
16
;
constant
c_sdp_W_subband
:
natural
:
=
18
;
constant
c_sdp_W_crosslet
:
natural
:
=
16
;
@@ -114,7 +119,6 @@ package sdp_pkg is
constant
c_sdp_W_local_oscillator_fraction
:
natural
:
=
15
;
-- = p in s(w, p)
constant
c_sdp_W_local_oscillator_magnitude
:
natural
:
=
c_sdp_W_local_oscillator
-
c_sdp_W_local_oscillator_fraction
-
1
;
-- = 0
constant
c_sdp_N_ring_nof_mac10g
:
natural
:
=
3
;
-- for sdp_station_xsub_ring design.
-- Derived constants
constant
c_sdp_FS_adc
:
natural
:
=
2
**
(
c_sdp_W_adc
-
1
);
-- full scale FS corresponds to amplitude
Loading