From 17ce01b58e089948b70f05d4799017a48de5de85 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Thu, 3 Dec 2015 18:47:05 +0100 Subject: [PATCH] core/mac/core: use fifo depth of 8 for RMII phy --- liteeth/core/mac/core/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/liteeth/core/mac/core/__init__.py b/liteeth/core/mac/core/__init__.py index 7c042f0..6f57720 100644 --- a/liteeth/core/mac/core/__init__.py +++ b/liteeth/core/mac/core/__init__.py @@ -2,6 +2,7 @@ from liteeth.common import * from liteeth.core.mac.core import gap, preamble, crc, padding, last_be from liteeth.phy.model import LiteEthPHYModel from liteeth.phy.mii import LiteEthPHYMII +from liteeth.phy.rmii import LiteEthPHYRMII class LiteEthMACCore(Module, AutoCSR): @@ -81,7 +82,7 @@ class LiteEthMACCore(Module, AutoCSR): rx_pipeline += [rx_converter] # Cross Domain Crossing - if isinstance(phy, LiteEthPHYMII): + if isinstance(phy, (LiteEthPHYMII, LiteEthPHYRMII)): fifo_depth = 8 else: fifo_depth = 64