mirror of https://github.com/m-labs/artiq.git
sayma_amc: add DRTIO transceiver on rtm_amc_link for v2 hardware
This commit is contained in:
parent
bbb8c00518
commit
560849e693
|
@ -522,10 +522,13 @@ class Satellite(BaseSoC, RTMCommon):
|
||||||
self.submodules.rtio_moninj = rtio.MonInj(rtio_channels)
|
self.submodules.rtio_moninj = rtio.MonInj(rtio_channels)
|
||||||
self.csr_devices.append("rtio_moninj")
|
self.csr_devices.append("rtio_moninj")
|
||||||
|
|
||||||
|
drtio_data_pads = [platform.request("sfp", 0)]
|
||||||
|
if self.hw_rev == "v2.0":
|
||||||
|
drtio_data_pads.append(platform.request("rtm_amc_link"))
|
||||||
self.comb += platform.request("sfp_tx_disable", 0).eq(0)
|
self.comb += platform.request("sfp_tx_disable", 0).eq(0)
|
||||||
self.submodules.drtio_transceiver = gth_ultrascale.GTH(
|
self.submodules.drtio_transceiver = gth_ultrascale.GTH(
|
||||||
clock_pads=platform.request("cdr_clk_clean"),
|
clock_pads=platform.request("cdr_clk_clean"),
|
||||||
data_pads=[platform.request("sfp", 0)],
|
data_pads=drtio_data_pads,
|
||||||
sys_clk_freq=self.clk_freq,
|
sys_clk_freq=self.clk_freq,
|
||||||
rtio_clk_freq=rtio_clk_freq)
|
rtio_clk_freq=rtio_clk_freq)
|
||||||
self.csr_devices.append("drtio_transceiver")
|
self.csr_devices.append("drtio_transceiver")
|
||||||
|
|
Loading…
Reference in New Issue