Skip to content

Commit

Permalink
liteth/phy: simplify clk_freq in LiteEthPHY autodetect function (than…
Browse files Browse the repository at this point in the history
…ks Sebastien)
  • Loading branch information
enjoy-digital committed Aug 22, 2015
1 parent a1e4183 commit f3d68a5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions misoclib/com/liteeth/phy/__init__.py
@@ -1,8 +1,7 @@
from misoclib.com.liteeth.common import *


def LiteEthPHY(clock_pads, pads, **kwargs):
clk_freq = None if "clk_freq" not in kwargs else kwargs.pop("clk_freq")
def LiteEthPHY(clock_pads, pads, clk_freq=None, **kwargs):
# Autodetect PHY
if hasattr(pads, "source_stb"):
# This is a simulation PHY
Expand Down

0 comments on commit f3d68a5

Please sign in to comment.