Skip to content

Commit e03b80a

Browse files
committedAug 20, 2017
sayma_amc: drive MDC low
1 parent 25f9044 commit e03b80a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed
 

Diff for: ‎misoc/targets/sayma_amc.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,10 @@ def __init__(self, *args, ethmac_nrxslots=2, ethmac_ntxslots=2, **kwargs):
9999
self.interrupt_devices.append("ethmac")
100100

101101
eth_clocks = self.platform.request("eth_clocks")
102+
eth = self.platform.request("eth")
102103
self.submodules.ethphy = LiteEthPHY(eth_clocks,
103-
self.platform.request("eth"), clk_freq=self.clk_freq)
104+
eth, clk_freq=self.clk_freq)
105+
self.comb += eth.mdc.eq(0)
104106
self.submodules.ethmac = LiteEthMAC(phy=self.ethphy, dw=32, interface="wishbone",
105107
nrxslots=ethmac_nrxslots, ntxslots=ethmac_ntxslots)
106108
ethmac_len = (ethmac_nrxslots + ethmac_ntxslots) * 0x800

0 commit comments

Comments
 (0)
Please sign in to comment.