forked from M-Labs/artiq
sayma: reduce serwb linerate to 500Mbps
This commit is contained in:
parent
825a2158ba
commit
ca01c8f1cb
|
@ -170,7 +170,7 @@ class Standalone(MiniSoC, AMPSoC):
|
|||
|
||||
# AMC/RTM serwb
|
||||
serwb_pads = platform.request("amc_rtm_serwb")
|
||||
serwb_phy_amc = serwb.phy.SERWBPHY(platform.device, serwb_pads, mode="master")
|
||||
serwb_phy_amc = serwb.phy.SERWBPHY(platform.device, serwb_pads, mode="master", phy_width=4)
|
||||
self.submodules.serwb_phy_amc = serwb_phy_amc
|
||||
self.csr_devices.append("serwb_phy_amc")
|
||||
|
||||
|
|
|
@ -156,7 +156,7 @@ class SaymaRTM(Module):
|
|||
# AMC/RTM serwb
|
||||
serwb_pads = platform.request("amc_rtm_serwb")
|
||||
platform.add_period_constraint(serwb_pads.clk_p, 10.)
|
||||
serwb_phy_rtm = serwb.phy.SERWBPHY(platform.device, serwb_pads, mode="slave")
|
||||
serwb_phy_rtm = serwb.phy.SERWBPHY(platform.device, serwb_pads, mode="slave", phy_width=4)
|
||||
self.submodules.serwb_phy_rtm = serwb_phy_rtm
|
||||
self.comb += self.crg.serwb_refclk.eq(serwb_phy_rtm.serdes.refclk)
|
||||
csr_devices.append("serwb_phy_rtm")
|
||||
|
|
Loading…
Reference in New Issue