Skip to content

Commit f3d68a5

Browse files
committedAug 22, 2015
liteth/phy: simplify clk_freq in LiteEthPHY autodetect function (thanks Sebastien)
1 parent a1e4183 commit f3d68a5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed
 

Diff for: ‎misoclib/com/liteeth/phy/__init__.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
from misoclib.com.liteeth.common import *
22

33

4-
def LiteEthPHY(clock_pads, pads, **kwargs):
5-
clk_freq = None if "clk_freq" not in kwargs else kwargs.pop("clk_freq")
4+
def LiteEthPHY(clock_pads, pads, clk_freq=None, **kwargs):
65
# Autodetect PHY
76
if hasattr(pads, "source_stb"):
87
# This is a simulation PHY

0 commit comments

Comments
 (0)
Please sign in to comment.