Skip to content

Commit

Permalink
serwb/phy: Add default value for clk_ratio, fix CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
enjoy-digital committed Dec 20, 2023
1 parent 42ae97e commit 4215623
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions liteiclink/serwb/phy.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@

@ResetInserter()
class _SerdesMasterInit(LiteXModule):
def __init__(self, serdes, taps, timeout, clk_ratio):
def __init__(self, serdes, taps, timeout, clk_ratio="1:1"):
self.ready = Signal()
self.error = Signal()

Expand Down Expand Up @@ -178,7 +178,7 @@ def __init__(self, serdes, taps, timeout, clk_ratio):

@ResetInserter()
class _SerdesSlaveInit(LiteXModule):
def __init__(self, serdes, taps, timeout, clk_ratio):
def __init__(self, serdes, taps, timeout, clk_ratio="1:1"):
self.ready = Signal()
self.error = Signal()

Expand Down

0 comments on commit 4215623

Please sign in to comment.