diff --git a/applications/lofar2/libraries/sdp/src/vhdl/sdp_pkg.vhd b/applications/lofar2/libraries/sdp/src/vhdl/sdp_pkg.vhd index 68bd999994459b6339d4c18df7797f499cb7cfaa..f85d717040e27ff6077d8db911070a01d1efbe1e 100644 --- a/applications/lofar2/libraries/sdp/src/vhdl/sdp_pkg.vhd +++ b/applications/lofar2/libraries/sdp/src/vhdl/sdp_pkg.vhd @@ -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