From 296ac35f5d106d4fa39284a0302938f3e6927471 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Tue, 23 Jan 2018 00:32:09 +0800 Subject: [PATCH] sayma_amc: SFP TX disable is active-high --- artiq/gateware/targets/sayma_amc.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/artiq/gateware/targets/sayma_amc.py b/artiq/gateware/targets/sayma_amc.py index 88af9bd3a..e4cbef55c 100755 --- a/artiq/gateware/targets/sayma_amc.py +++ b/artiq/gateware/targets/sayma_amc.py @@ -295,7 +295,7 @@ class Master(MiniSoC, AMPSoC): self.config["HAS_SI5324"] = None self.config["SI5324_FREE_RUNNING"] = None - self.comb += platform.request("sfp_tx_disable_n", 0).eq(1) + self.comb += platform.request("sfp_tx_disable", 0).eq(0) self.submodules.transceiver = gth_ultrascale.GTH( clock_pads=platform.request("si5324_clkout"), data_pads=[platform.request("sfp", 0)], @@ -395,7 +395,7 @@ class Satellite(BaseSoC): self.submodules.rtio_moninj = rtio.MonInj(rtio_channels) self.csr_devices.append("rtio_moninj") - self.comb += platform.request("sfp_tx_disable_n", 0).eq(1) + self.comb += platform.request("sfp_tx_disable", 0).eq(0) self.submodules.transceiver = gth_ultrascale.GTH( clock_pads=platform.request("si5324_clkout"), data_pads=[platform.request("sfp", 0)],