Skip to content

Commit

Permalink
phy/a7_gtp: Add additionnal comment to #163 and express delay in us.
Browse files Browse the repository at this point in the history
  • Loading branch information
enjoy-digital committed Aug 19, 2024
1 parent 32df452 commit d4fa6a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions liteeth/phy/a7_gtp.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,9 @@ def __init__(self, sys_clk_freq):
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 += [
Expand Down

0 comments on commit d4fa6a2

Please sign in to comment.