From d4fa6a2f4a7656a1644b2f30f4141d42570a0138 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Mon, 19 Aug 2024 09:16:20 +0200 Subject: [PATCH] phy/a7_gtp: Add additionnal comment to #163 and express delay in us. --- liteeth/phy/a7_gtp.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/liteeth/phy/a7_gtp.py b/liteeth/phy/a7_gtp.py index c1117f2..aa50e52 100644 --- a/liteeth/phy/a7_gtp.py +++ b/liteeth/phy/a7_gtp.py @@ -88,9 +88,9 @@ class GTPTxInit(Module): self.specials += MultiReg(self.qpll_lock, qpll_lock) # After configuration, transceiver resets have to stay low for - # at least 500ns. + # at least 500ns (Here extended to 10us). # See https://www.xilinx.com/support/answers/43482.html - timer_max = ceil(10000e-9*sys_clk_freq) + timer_max = ceil(10e-6*sys_clk_freq) timer = Signal(max=timer_max+1) tick = Signal() self.sync += [