Skip to content
Snippets Groups Projects
Commit ae7580f4 authored by Kenneth Hiemstra's avatar Kenneth Hiemstra
Browse files

increased the fifo size

parent 3c47d00c
No related branches found
No related tags found
No related merge requests found
......@@ -58,9 +58,9 @@ END eth_buffer;
ARCHITECTURE str OF eth_buffer IS
CONSTANT c_nof_frames : NATURAL := 2; -- support at least 2 max size frames in the FIFO
CONSTANT c_nof_frames : NATURAL := 4; -- support at least 2 max size frames in the FIFO
CONSTANT c_fifo_nof_words : NATURAL := 2**(ceil_log2(c_nof_frames * c_eth_frame_nof_words)); -- = 1024 > 2*380
CONSTANT c_fifo_almost_full : NATURAL := c_fifo_nof_words-64; -- use sufficient margin to account for latencies
CONSTANT c_fifo_almost_full : NATURAL := c_fifo_nof_words-380-20; -- use sufficient margin to account for 1 packet (1520 bytes) + 20 latency
TYPE t_state_enum IS (
s_idle,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment