Merge pull request #372 from mkj/butterstick-ethdelay

butterstick: set ethernet rx_delay to 0ns
This commit is contained in:
enjoy-digital 2022-04-21 09:00:13 +02:00 committed by GitHub
commit f986855926
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -124,7 +124,9 @@ class BaseSoC(SoCCore):
if with_ethernet or with_etherbone:
self.submodules.ethphy = LiteEthPHYRGMII(
clock_pads = self.platform.request("eth_clocks"),
pads = self.platform.request("eth"))
pads = self.platform.request("eth"),
rx_delay = 0e-9, # KSZ9031RNX phy adds a 1.2ns RX delay
)
if with_ethernet:
self.add_ethernet(phy=self.ethphy, dynamic_ip=eth_dynamic_ip)
if with_etherbone: