mirror of https://github.com/m-labs/artiq.git
kasli, kc705: remove vivado "keep", cleanup a constraint
This commit is contained in:
parent
85102e191e
commit
aada38f508
|
@ -121,7 +121,6 @@ class _StandaloneBase(MiniSoC, AMPSoC):
|
||||||
self.submodules.rtio_moninj = rtio.MonInj(rtio_channels)
|
self.submodules.rtio_moninj = rtio.MonInj(rtio_channels)
|
||||||
self.csr_devices.append("rtio_moninj")
|
self.csr_devices.append("rtio_moninj")
|
||||||
|
|
||||||
self.rtio_crg.cd_rtio.clk.attr.add("keep")
|
|
||||||
self.platform.add_period_constraint(self.rtio_crg.cd_rtio.clk, 8.)
|
self.platform.add_period_constraint(self.rtio_crg.cd_rtio.clk, 8.)
|
||||||
self.platform.add_false_path_constraints(
|
self.platform.add_false_path_constraints(
|
||||||
self.crg.cd_sys.clk,
|
self.crg.cd_sys.clk,
|
||||||
|
|
|
@ -32,6 +32,7 @@ class _RTIOCRG(Module, AutoCSR):
|
||||||
|
|
||||||
# 100 MHz when using 125MHz input
|
# 100 MHz when using 125MHz input
|
||||||
self.clock_domains.cd_ext_clkout = ClockDomain(reset_less=True)
|
self.clock_domains.cd_ext_clkout = ClockDomain(reset_less=True)
|
||||||
|
platform.add_period_constraint(self.cd_ext_clkout.clk, 5.0)
|
||||||
if use_sma:
|
if use_sma:
|
||||||
ext_clkout = platform.request("user_sma_gpio_p_33")
|
ext_clkout = platform.request("user_sma_gpio_p_33")
|
||||||
self.sync.ext_clkout += ext_clkout.eq(~ext_clkout)
|
self.sync.ext_clkout += ext_clkout.eq(~ext_clkout)
|
||||||
|
@ -265,7 +266,6 @@ class _StandaloneBase(MiniSoC, AMPSoC):
|
||||||
self.submodules.rtio_moninj = rtio.MonInj(rtio_channels)
|
self.submodules.rtio_moninj = rtio.MonInj(rtio_channels)
|
||||||
self.csr_devices.append("rtio_moninj")
|
self.csr_devices.append("rtio_moninj")
|
||||||
|
|
||||||
self.rtio_crg.cd_rtio.clk.attr.add("keep")
|
|
||||||
self.platform.add_period_constraint(self.rtio_crg.cd_rtio.clk, 8.)
|
self.platform.add_period_constraint(self.rtio_crg.cd_rtio.clk, 8.)
|
||||||
self.platform.add_false_path_constraints(
|
self.platform.add_false_path_constraints(
|
||||||
self.crg.cd_sys.clk,
|
self.crg.cd_sys.clk,
|
||||||
|
@ -511,7 +511,6 @@ class SMA_SPI(_StandaloneBase):
|
||||||
self.submodules.rtio_moninj = rtio.MonInj(rtio_channels)
|
self.submodules.rtio_moninj = rtio.MonInj(rtio_channels)
|
||||||
self.csr_devices.append("rtio_moninj")
|
self.csr_devices.append("rtio_moninj")
|
||||||
|
|
||||||
self.rtio_crg.cd_rtio.clk.attr.add("keep")
|
|
||||||
self.platform.add_period_constraint(self.rtio_crg.cd_rtio.clk, 8.)
|
self.platform.add_period_constraint(self.rtio_crg.cd_rtio.clk, 8.)
|
||||||
self.platform.add_false_path_constraints(
|
self.platform.add_false_path_constraints(
|
||||||
self.crg.cd_sys.clk,
|
self.crg.cd_sys.clk,
|
||||||
|
|
Loading…
Reference in New Issue