hub: Increase elastic buffer size
If the input and output clock enables are exactly aligned, the elastic
buffer can overflow (as it waits for 2 entries before offering, and
there's a cycle of latency). Increase the size so we don't run into that
situation.
Fixes: b351beb
("Add hub")
Signed-off-by: Sean Anderson <seanga2@gmail.com>
This commit is contained in:
parent
52bc62814e
commit
9ea09f539a
|
@ -28,7 +28,7 @@ module hub (
|
||||||
|
|
||||||
parameter WISHBONE = 1;
|
parameter WISHBONE = 1;
|
||||||
parameter PORT_COUNT = 4;
|
parameter PORT_COUNT = 4;
|
||||||
parameter ELASTIC_BUF_SIZE = 3;
|
parameter ELASTIC_BUF_SIZE = 5;
|
||||||
parameter ENABLE_COUNTERS = 1;
|
parameter ENABLE_COUNTERS = 1;
|
||||||
parameter COUNTER_WIDTH = 15;
|
parameter COUNTER_WIDTH = 15;
|
||||||
parameter [23:0] OUI = 0;
|
parameter [23:0] OUI = 0;
|
||||||
|
|
Loading…
Reference in New Issue