From 2091c7696a24f5468a81ce4d6b74841d89fbcba0 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Wed, 6 Sep 2017 09:18:12 +0200 Subject: [PATCH] artiq/gateware/targets/sayma_amc_standalone: fix serwb_pll vco_div and serwb_phy mode --- artiq/gateware/targets/sayma_amc_standalone.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/artiq/gateware/targets/sayma_amc_standalone.py b/artiq/gateware/targets/sayma_amc_standalone.py index 026fc1159..4100541dc 100755 --- a/artiq/gateware/targets/sayma_amc_standalone.py +++ b/artiq/gateware/targets/sayma_amc_standalone.py @@ -57,12 +57,12 @@ class SaymaAMCStandalone(MiniSoC, AMPSoC): ] # AMC/RTM serwb - serwb_pll = serwb.phy.SERWBPLL(125e6, 1.25e9, vco_div=1) + serwb_pll = serwb.phy.SERWBPLL(125e6, 1.25e9, vco_div=2) self.comb += serwb_pll.refclk.eq(self.crg.cd_sys.clk) self.submodules += serwb_pll serwb_pads = platform.request("amc_rtm_serwb") - serwb_phy = serwb.phy.SERWBPHY(platform.device, serwb_pll, serwb_pads, mode="slave") + serwb_phy = serwb.phy.SERWBPHY(platform.device, serwb_pll, serwb_pads, mode="master") self.submodules.serwb_phy = serwb_phy self.csr_devices.append("serwb_phy")