Skip to content

Commit

Permalink
Merge pull request #12 from cklarhorst/patch-1
Browse files Browse the repository at this point in the history
genphy: Fix init _SerdesClocking for diff clks
  • Loading branch information
enjoy-digital authored Jun 21, 2023
2 parents 0e06d8a + cbc3fbb commit aa20024
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion liteiclink/serwb/genphy.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def __init__(self, pads):
@ResetInserter()
class _Serdes(Module):
def __init__(self, pads, mode="master"):
if hasattr(pads, "clk"):
if hasattr(pads, "clk") or hasattr(pads, "clk_p"):
self.submodules.clocking = _SerdesClocking(pads, mode)
self.submodules.tx = _SerdesTX(pads)
self.submodules.rx = _SerdesRX(pads)
Expand Down

0 comments on commit aa20024

Please sign in to comment.