Skip to content
Snippets Groups Projects
Commit 46c9bd7c authored by Daniel van der Schuur's avatar Daniel van der Schuur
Browse files

-Reduced FIFO depth for input BSN aligners:

 .was 130k, now 12k.
parent 5a7a05aa
No related branches found
No related tags found
No related merge requests found
......@@ -174,13 +174,14 @@ ARCHITECTURE str OF arts_unb2b_sc3_input IS
-------------------------------------------------------------------------------
-- BSN Aligner + FIFOs
-- . Set as small as possible (1 block) as each set of 3 fibers will be almost aligned.
-------------------------------------------------------------------------------
CONSTANT c_block_size : NATURAL := 176;
CONSTANT c_block_period : NATURAL := c_block_size + 10; -- FIXME Based on....?
CONSTANT c_bsn_align_latency : NATURAL := 3;
CONSTANT c_bsn_align_sop_timeout : NATURAL := (c_bsn_align_latency + 1) * c_block_period; -- wait somewhat more than c_bsn_align_latency periods
CONSTANT c_block_size : NATURAL := 96; --96 6b4 words carrying 128 48b words
CONSTANT c_block_period : NATURAL := 137; -- 140.625MSps/200MSps = 96/137
CONSTANT c_bsn_align_latency : NATURAL := 1;
CONSTANT c_bsn_align_sop_timeout : NATURAL := (c_bsn_align_latency + 0) * c_block_period; -- This is a tight timeout.
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 + 0) * c_block_size; -- be able to fit blocks for as long as sop time out;
CONSTANT c_dp_fifo_fill : NATURAL := c_block_size;
SIGNAL dp_fifo_fill_src_out_arr : t_dp_sosi_arr(c_nof_10GbE_streams-1 DOWNTO 0);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment