forked from M-Labs/artiq
1
0
Fork 0

targets/sayma_rtm: fix serwb 2 ...

This commit is contained in:
Florent Kermarrec 2018-04-03 18:59:05 +02:00
parent 7488703f23
commit dd21c07b85
1 changed files with 1 additions and 1 deletions

View File

@ -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)