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

Use c_fifo_fill = c_sdp_cep_payload_nof_longwords.

parent 68d01501
No related branches found
No related tags found
1 merge request!269Some clean up of sdp_station.vhd and fifo fill eop usage
...@@ -78,9 +78,9 @@ ARCHITECTURE str OF sdp_beamformer_output IS ...@@ -78,9 +78,9 @@ ARCHITECTURE str OF sdp_beamformer_output IS
CONSTANT c_data_w : NATURAL := c_nof_complex*c_sdp_W_beamlet; --16b CONSTANT c_data_w : NATURAL := c_nof_complex*c_sdp_W_beamlet; --16b
CONSTANT c_beamlet_index : NATURAL := g_beamset_id * c_sdp_S_sub_bf; -- call beamset 'id' and beamlet 'index' CONSTANT c_beamlet_index : NATURAL := g_beamset_id * c_sdp_S_sub_bf; -- call beamset 'id' and beamlet 'index'
-- c_fifo_fill must be the exact size of a packet such that no packet gets stuck in the FIFO or the FIFO gets read out too soon. -- c_fifo_fill must be the exact size of a payload such that no payload gets stuck in the FIFO or the FIFO gets read out too soon.
-- For packets of variable length, dp_fifo_fill_eop must be used. In this case we can use the standard fill fifo. -- For packets of variable length, dp_fifo_fill_eop must be used. In this case we can use the standard fill fifo.
CONSTANT c_fifo_fill : NATURAL := c_sdp_cep_nof_blocks_per_packet * c_sdp_cep_nof_beamlets_per_block / 2; -- Size of packet: 2 beamlets (dual pol) fit in 1 64bit longword CONSTANT c_fifo_fill : NATURAL := c_sdp_cep_payload_nof_longwords;
CONSTANT c_fifo_size : NATURAL := c_fifo_fill*2; -- Make fifo size large enough for adding header and muxing beamsets. CONSTANT c_fifo_size : NATURAL := c_fifo_fill*2; -- Make fifo size large enough for adding header and muxing beamsets.
SIGNAL snk_in_concat : t_dp_sosi; SIGNAL snk_in_concat : t_dp_sosi;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment