Skip to content
Snippets Groups Projects
Commit 0b803b8d authored by Pepping's avatar Pepping
Browse files

Added constant that sets the bsn_monitor time out.

Updated defintion of c_integration_period 
parent d84d2cae
Branches
No related tags found
No related merge requests found
...@@ -147,6 +147,8 @@ ARCHITECTURE str OF apertif_unb1_correlator IS ...@@ -147,6 +147,8 @@ ARCHITECTURE str OF apertif_unb1_correlator IS
CONSTANT c_bsn_align_xoff_timeout : NATURAL := c_bsn_align_latency * 2 * c_block_period; -- flush factor 2 longer than needed CONSTANT c_bsn_align_xoff_timeout : NATURAL := c_bsn_align_latency * 2 * c_block_period; -- flush factor 2 longer than needed
CONSTANT c_dp_fifo_size : NATURAL := (c_bsn_align_latency + 5) * c_block_size; -- be able to fit blocks for as long as sop time out; CONSTANT c_dp_fifo_size : NATURAL := (c_bsn_align_latency + 5) * c_block_size; -- be able to fit blocks for as long as sop time out;
CONSTANT c_dp_fifo_fill : NATURAL := c_block_size; CONSTANT c_dp_fifo_fill : NATURAL := c_block_size;
CONSTANT c_nof_blocks_per_sync : NATURAL := 800000;
CONSTANT c_bsn_sync_time_out : NATURAL := c_block_period * c_nof_blocks_per_sync;
-- Re- and Deinterleaver -- Re- and Deinterleaver
CONSTANT c_use_complex : BOOLEAN := TRUE; CONSTANT c_use_complex : BOOLEAN := TRUE;
...@@ -158,7 +160,7 @@ ARCHITECTURE str OF apertif_unb1_correlator IS ...@@ -158,7 +160,7 @@ ARCHITECTURE str OF apertif_unb1_correlator IS
CONSTANT c_nof_pre_mult_folds : NATURAL := 1; CONSTANT c_nof_pre_mult_folds : NATURAL := 1;
CONSTANT c_conjugate : BOOLEAN := TRUE; --FIXME: Used for verification/validation (phase shifts) in first stages but should be set to FALSE for final version. CONSTANT c_conjugate : BOOLEAN := TRUE; --FIXME: Used for verification/validation (phase shifts) in first stages but should be set to FALSE for final version.
CONSTANT c_nof_channels : NATURAL := 64; CONSTANT c_nof_channels : NATURAL := 64;
CONSTANT c_integration_period : NATURAL := 12207; CONSTANT c_integration_period : NATURAL := c_nof_blocks_per_sync/c_nof_channels; --12207;
CONSTANT c_nof_visibilities : NATURAL := (c_nof_inputs*(c_nof_inputs+1))/2; CONSTANT c_nof_visibilities : NATURAL := (c_nof_inputs*(c_nof_inputs+1))/2;
-- . Inter Channel Delay: -- . Inter Channel Delay:
-- . With no inter channel output delay, channels are output back-to-back, creating a short full valid burst of 64 channels (12.8 Gbps burst, 158Mbps on average). -- . With no inter channel output delay, channels are output back-to-back, creating a short full valid burst of 64 channels (12.8 Gbps burst, 158Mbps on average).
...@@ -585,6 +587,7 @@ BEGIN ...@@ -585,6 +587,7 @@ BEGIN
u_dp_bsn_monitor : ENTITY dp_lib.mms_dp_bsn_monitor u_dp_bsn_monitor : ENTITY dp_lib.mms_dp_bsn_monitor
GENERIC MAP ( GENERIC MAP (
g_nof_streams => 5, g_nof_streams => 5,
g_sync_timeout => c_bsn_sync_time_out,
g_log_first_bsn => TRUE g_log_first_bsn => TRUE
) )
PORT MAP ( PORT MAP (
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment