From dd21c07b85c1067913d521b09fda80acf561df7d Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Tue, 3 Apr 2018 18:59:05 +0200 Subject: [PATCH] targets/sayma_rtm: fix serwb 2 ... --- artiq/gateware/targets/sayma_rtm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/artiq/gateware/targets/sayma_rtm.py b/artiq/gateware/targets/sayma_rtm.py index 4c41b811c..08ed4245c 100755 --- a/artiq/gateware/targets/sayma_rtm.py +++ b/artiq/gateware/targets/sayma_rtm.py @@ -165,7 +165,7 @@ class SaymaRTM(Module): platform.add_period_constraint(serwb_pads.clk_p, 10.) serwb_phy_rtm = serwb.phy.SERWBPHY(platform.device, serwb_pads, mode="slave") self.submodules.serwb_phy_rtm = serwb_phy_rtm - self.comb += self.crg.serwb_refclk.eq(serwb_phy.serdes.refclk) + self.comb += self.crg.serwb_refclk.eq(serwb_phy_rtm.serdes.refclk) csr_devices.append("serwb_phy_rtm") serwb_core = serwb.core.SERWBCore(serwb_phy_rtm, int(clk_freq), mode="master", with_scrambling=True)