Skip to content
Snippets Groups Projects
Commit c47a70b4 authored by Reinier van der Walle's avatar Reinier van der Walle
Browse files

corrected fifo size

parent 8e836f6c
No related branches found
No related tags found
1 merge request!332Resolve HPR-122
Pipeline #50600 passed
...@@ -80,7 +80,7 @@ ARCHITECTURE str OF eth_tester_rx IS ...@@ -80,7 +80,7 @@ ARCHITECTURE str OF eth_tester_rx IS
-- Rx FIFO size can be much less than rx_block_sz_max, because st_clk > -- Rx FIFO size can be much less than rx_block_sz_max, because st_clk >
-- eth_clk rate, but with st level tx-rx loopback the Rx FIFO does need -- eth_clk rate, but with st level tx-rx loopback the Rx FIFO does need
-- rx_block_sz_max FIFO size. -- rx_block_sz_max FIFO size.
CONSTANT rx_block_sz_max : NATURAL := c_eth_tester_rx_block_len_max / c_in_data_w; CONSTANT rx_block_sz_max : NATURAL := c_eth_tester_rx_block_len_max / g_nof_octet_input;
CONSTANT c_fifo_size : NATURAL := true_log_pow2(rx_block_sz_max); CONSTANT c_fifo_size : NATURAL := true_log_pow2(rx_block_sz_max);
SIGNAL rx_udp_data : STD_LOGIC_VECTOR(c_word_w-1 DOWNTO 0); SIGNAL rx_udp_data : STD_LOGIC_VECTOR(c_word_w-1 DOWNTO 0);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment