From 3942c2d274565cf1328ae2c498777f9d6826d8da Mon Sep 17 00:00:00 2001 From: Robert Jordens Date: Tue, 24 Apr 2018 10:18:32 +0000 Subject: [PATCH] suservo: fix clkout cd drive --- artiq/gateware/targets/kasli.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/artiq/gateware/targets/kasli.py b/artiq/gateware/targets/kasli.py index de3aad6c8..bbad616dd 100755 --- a/artiq/gateware/targets/kasli.py +++ b/artiq/gateware/targets/kasli.py @@ -544,7 +544,8 @@ class SUServo(_StandaloneBase): clkout = Signal() clkout_fabric = Signal() self.specials += [ - DifferentialInput(pads.clkout_p, pads.clkout_n, clkout), + DifferentialInput( + sampler_pads.clkout_p, sampler_pads.clkout_n, clkout), Instance("BUFH", i_I=clkout, o_O=clkout_fabric), Instance("BUFIO", i_I=clkout, o_O=su.adc.clkout_io) ] @@ -602,12 +603,12 @@ class SUServo(_StandaloneBase): self.add_rtio(rtio_channels) - platform.add_period_constraint(su.adc.cd_ret.clk, 8.) + platform.add_period_constraint(self.cd_ret.clk, 8.) platform.add_false_path_constraints( - su.adc.cd_ret.clk, + self.cd_ret.clk, self.rtio_crg.cd_rtio.clk) platform.add_false_path_constraints( - su.adc.cd_ret.clk, + self.cd_ret.clk, self.crg.cd_sys.clk)