core/mac/core: use fifo depth of 8 for RMII phy
This commit is contained in:
parent
6006186fe0
commit
17ce01b58e
|
@ -2,6 +2,7 @@ from liteeth.common import *
|
||||||
from liteeth.core.mac.core import gap, preamble, crc, padding, last_be
|
from liteeth.core.mac.core import gap, preamble, crc, padding, last_be
|
||||||
from liteeth.phy.model import LiteEthPHYModel
|
from liteeth.phy.model import LiteEthPHYModel
|
||||||
from liteeth.phy.mii import LiteEthPHYMII
|
from liteeth.phy.mii import LiteEthPHYMII
|
||||||
|
from liteeth.phy.rmii import LiteEthPHYRMII
|
||||||
|
|
||||||
|
|
||||||
class LiteEthMACCore(Module, AutoCSR):
|
class LiteEthMACCore(Module, AutoCSR):
|
||||||
|
@ -81,7 +82,7 @@ class LiteEthMACCore(Module, AutoCSR):
|
||||||
rx_pipeline += [rx_converter]
|
rx_pipeline += [rx_converter]
|
||||||
|
|
||||||
# Cross Domain Crossing
|
# Cross Domain Crossing
|
||||||
if isinstance(phy, LiteEthPHYMII):
|
if isinstance(phy, (LiteEthPHYMII, LiteEthPHYRMII)):
|
||||||
fifo_depth = 8
|
fifo_depth = 8
|
||||||
else:
|
else:
|
||||||
fifo_depth = 64
|
fifo_depth = 64
|
||||||
|
|
Loading…
Reference in New Issue