mirror of https://github.com/m-labs/artiq.git
metlino: add EEMs
This commit is contained in:
parent
cdef50c0dd
commit
bc2cfd77f5
|
@ -11,7 +11,6 @@ from misoc.targets.metlino import *
|
||||||
|
|
||||||
from artiq.gateware.amp import AMPSoC
|
from artiq.gateware.amp import AMPSoC
|
||||||
from artiq.gateware import eem
|
from artiq.gateware import eem
|
||||||
from artiq.gateware import fmcdio_vhdci_eem
|
|
||||||
from artiq.gateware import rtio
|
from artiq.gateware import rtio
|
||||||
from artiq.gateware.rtio.phy import ttl_simple, ttl_serdes_ultrascale
|
from artiq.gateware.rtio.phy import ttl_simple, ttl_serdes_ultrascale
|
||||||
from artiq.gateware.drtio.transceiver import gth_ultrascale
|
from artiq.gateware.drtio.transceiver import gth_ultrascale
|
||||||
|
@ -124,20 +123,13 @@ class Master(MiniSoC, AMPSoC):
|
||||||
self.submodules += phy
|
self.submodules += phy
|
||||||
rtio_channels.append(rtio.Channel.from_phy(phy))
|
rtio_channels.append(rtio.Channel.from_phy(phy))
|
||||||
|
|
||||||
#platform.add_extension(fmcdio_vhdci_eem.io)
|
eem.DIO.add_std(self, 2, ttl_simple.Output, ttl_simple.Output,
|
||||||
#platform.add_connectors(fmcdio_vhdci_eem.connectors)
|
iostandard="LVDS")
|
||||||
#fmcdio_dirctl = platform.request("fmcdio_dirctl")
|
eem.Urukul.add_std(self, 0, 1, ttl_simple.Output,
|
||||||
#for s in fmcdio_dirctl.clk, fmcdio_dirctl.ser, fmcdio_dirctl.latch:
|
iostandard="LVDS")
|
||||||
# phy = ttl_simple.Output(s)
|
eem.Zotino.add_std(self, 3, ttl_simple.Output,
|
||||||
# self.submodules += phy
|
iostandard="LVDS")
|
||||||
# rtio_channels.append(rtio.Channel.from_phy(phy))
|
workaround_us_lvds_tristate(platform)
|
||||||
#eem.DIO.add_std(self, 2, ttl_simple.Output, ttl_simple.Output,
|
|
||||||
# iostandard="LVDS")
|
|
||||||
#eem.Urukul.add_std(self, 1, 0, ttl_simple.Output,
|
|
||||||
# iostandard="LVDS")
|
|
||||||
#eem.Zotino.add_std(self, 3, ttl_simple.Output,
|
|
||||||
# iostandard="LVDS")
|
|
||||||
#workaround_us_lvds_tristate(platform)
|
|
||||||
|
|
||||||
self.config["HAS_RTIO_LOG"] = None
|
self.config["HAS_RTIO_LOG"] = None
|
||||||
self.config["RTIO_LOG_CHANNEL"] = len(rtio_channels)
|
self.config["RTIO_LOG_CHANNEL"] = len(rtio_channels)
|
||||||
|
|
Loading…
Reference in New Issue