Skip to content

Commit

Permalink
sayma_amc: drive MDC low
Browse files Browse the repository at this point in the history
sbourdeauducq committed Aug 20, 2017
1 parent 25f9044 commit e03b80a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion misoc/targets/sayma_amc.py
Original file line number Diff line number Diff line change
@@ -99,8 +99,10 @@ def __init__(self, *args, ethmac_nrxslots=2, ethmac_ntxslots=2, **kwargs):
self.interrupt_devices.append("ethmac")

eth_clocks = self.platform.request("eth_clocks")
eth = self.platform.request("eth")
self.submodules.ethphy = LiteEthPHY(eth_clocks,
self.platform.request("eth"), clk_freq=self.clk_freq)
eth, clk_freq=self.clk_freq)
self.comb += eth.mdc.eq(0)
self.submodules.ethmac = LiteEthMAC(phy=self.ethphy, dw=32, interface="wishbone",
nrxslots=ethmac_nrxslots, ntxslots=ethmac_ntxslots)
ethmac_len = (ethmac_nrxslots + ethmac_ntxslots) * 0x800

0 comments on commit e03b80a

Please sign in to comment.