mirror of https://github.com/m-labs/artiq.git
sayma_amc: fix Master timing constraints
This commit is contained in:
parent
6c52359e59
commit
4cb9f77fd8
|
@ -507,16 +507,16 @@ class Master(MiniSoC, AMPSoC):
|
||||||
self.add_memory_group("drtioaux_mem", drtioaux_memory_group)
|
self.add_memory_group("drtioaux_mem", drtioaux_memory_group)
|
||||||
|
|
||||||
rtio_clk_period = 1e9/rtio_clk_freq
|
rtio_clk_period = 1e9/rtio_clk_freq
|
||||||
gth = self.drtio_transceiver.gths[0]
|
gth0 = self.drtio_transceiver.gths[0]
|
||||||
platform.add_period_constraint(gth.txoutclk, rtio_clk_period/2)
|
platform.add_period_constraint(gth0.txoutclk, rtio_clk_period/2)
|
||||||
platform.add_period_constraint(gth.rxoutclk, rtio_clk_period)
|
platform.add_period_constraint(gth0.rxoutclk, rtio_clk_period)
|
||||||
platform.add_false_path_constraints(
|
platform.add_false_path_constraints(
|
||||||
self.crg.cd_sys.clk,
|
self.crg.cd_sys.clk,
|
||||||
gth.txoutclk, gth.rxoutclk)
|
gth0.txoutclk, gth0.rxoutclk)
|
||||||
for gth in self.drtio_transceiver.gths[1:]:
|
for gth in self.drtio_transceiver.gths[1:]:
|
||||||
platform.add_period_constraint(gth.rxoutclk, rtio_clk_period)
|
platform.add_period_constraint(gth.rxoutclk, rtio_clk_period)
|
||||||
platform.add_false_path_constraints(
|
platform.add_false_path_constraints(
|
||||||
self.crg.cd_sys.clk, gth.rxoutclk)
|
self.crg.cd_sys.clk, gth0.txoutclk, gth.rxoutclk)
|
||||||
|
|
||||||
self.rtio_channels = rtio_channels = []
|
self.rtio_channels = rtio_channels = []
|
||||||
for i in range(4):
|
for i in range(4):
|
||||||
|
|
Loading…
Reference in New Issue