Skip to content
Snippets Groups Projects
Commit 1e63528a authored by Eric Kooistra's avatar Eric Kooistra
Browse files

Add constants W_ant, W_bsn, W_rsn.

parent 6aeb5e0b
No related branches found
No related tags found
1 merge request!424Resolve L2SDP-1059 "B"
This commit is part of merge request !424. Comments created here will be created in the context of that merge request.
...@@ -26,6 +26,7 @@ ...@@ -26,6 +26,7 @@
-- Description: See [1] -- Description: See [1]
-- References: -- References:
-- . [1] https://support.astron.nl/confluence/display/L2M/L3+SDP+Decision%3A+SDP+Parameter+definitions -- . [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; library IEEE, common_lib, rTwoSDF_lib, fft_lib, filter_lib, wpfb_lib, diag_lib, tech_jesd204b_lib;
use IEEE.std_logic_1164.all; use IEEE.std_logic_1164.all;
...@@ -79,6 +80,7 @@ package sdp_pkg is ...@@ -79,6 +80,7 @@ package sdp_pkg is
constant c_sdp_N_sub : natural := 512; constant c_sdp_N_sub : natural := 512;
constant c_sdp_N_sync_rcu : natural := 1; constant c_sdp_N_sync_rcu : natural := 1;
constant c_sdp_N_taps : natural := 16; 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_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_P_sum : natural := 2; -- sums of two in ring beamformer adder tree
constant c_sdp_Q_fft : natural := 2; constant c_sdp_Q_fft : natural := 2;
...@@ -93,6 +95,9 @@ package sdp_pkg is ...@@ -93,6 +95,9 @@ package sdp_pkg is
constant c_sdp_V_si_histogram : natural := 512; constant c_sdp_V_si_histogram : natural := 512;
constant c_sdp_W_adc : natural := 14; constant c_sdp_W_adc : natural := 14;
constant c_sdp_W_adc_jesd : natural := 16; 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_fir_coef : natural := 16;
constant c_sdp_W_subband : natural := 18; constant c_sdp_W_subband : natural := 18;
constant c_sdp_W_crosslet : natural := 16; constant c_sdp_W_crosslet : natural := 16;
...@@ -114,7 +119,6 @@ package sdp_pkg is ...@@ -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_fraction : natural := 15; -- = p in s(w, p)
constant c_sdp_W_local_oscillator_magnitude : natural := c_sdp_W_local_oscillator - constant c_sdp_W_local_oscillator_magnitude : natural := c_sdp_W_local_oscillator -
c_sdp_W_local_oscillator_fraction - 1; -- = 0 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 -- Derived constants
constant c_sdp_FS_adc : natural := 2**(c_sdp_W_adc - 1); -- full scale FS corresponds to amplitude constant c_sdp_FS_adc : natural := 2**(c_sdp_W_adc - 1); -- full scale FS corresponds to amplitude
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment