Skip to content

Commit

Permalink
targets/optis_base: use direct instantiation of rgmii phy
Browse files Browse the repository at this point in the history
  • Loading branch information
enjoy-digital committed Aug 5, 2015
1 parent 4497dc4 commit 7a9703c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions targets/opsis_base.py
Expand Up @@ -14,7 +14,7 @@
from misoclib.soc import mem_decoder
from misoclib.soc.sdram import SDRAMSoC

from misoclib.com.liteeth.phy import LiteEthPHY
from misoclib.com.liteeth.phy.s6rgmii import LiteEthPHYRGMII
from misoclib.com.liteeth.core.mac import LiteEthMAC

# DDR3
Expand Down Expand Up @@ -234,7 +234,7 @@ class MiniSoC(BaseSoC):
def __init__(self, platform, **kwargs):
BaseSoC.__init__(self, platform, **kwargs)

self.submodules.ethphy = LiteEthPHY(platform.request("eth_clocks"), platform.request("eth"))
self.submodules.ethphy = LiteEthPHYRGMII(platform.request("eth_clocks"), platform.request("eth"))
self.submodules.ethmac = LiteEthMAC(phy=self.ethphy, dw=32, interface="wishbone")
self.add_wb_slave(mem_decoder(self.mem_map["ethmac"]), self.ethmac.bus)
self.add_memory_region("ethmac", self.mem_map["ethmac"]+self.shadow_base, 0x2000)
Expand Down

0 comments on commit 7a9703c

Please sign in to comment.