From: Yann Sionneau Date: Wed, 25 Feb 2015 17:57:09 +0000 (+0100) Subject: target/kc705: allow access to pll_sys signal before BUFG X-Git-Tag: 24jan2021_ls180~2598 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8364fe667428c2ad6d5da8761eb1a604989f3029;p=litex.git target/kc705: allow access to pll_sys signal before BUFG --- diff --git a/targets/kc705.py b/targets/kc705.py index 4af947fc..92d08498 100644 --- a/targets/kc705.py +++ b/targets/kc705.py @@ -20,7 +20,7 @@ class _CRG(Module): pll_locked = Signal() pll_fb = Signal() - pll_sys = Signal() + self.pll_sys = Signal() pll_sys4x = Signal() pll_clk200 = Signal() self.specials += [ @@ -33,7 +33,7 @@ class _CRG(Module): i_CLKIN1=clk200_se, i_CLKFBIN=pll_fb, o_CLKFBOUT=pll_fb, # 125MHz - p_CLKOUT0_DIVIDE=8, p_CLKOUT0_PHASE=0.0, o_CLKOUT0=pll_sys, + p_CLKOUT0_DIVIDE=8, p_CLKOUT0_PHASE=0.0, o_CLKOUT0=self.pll_sys, # 500MHz p_CLKOUT1_DIVIDE=2, p_CLKOUT1_PHASE=0.0, o_CLKOUT1=pll_sys4x, @@ -45,7 +45,7 @@ class _CRG(Module): p_CLKOUT4_DIVIDE=4, p_CLKOUT4_PHASE=0.0, #o_CLKOUT4= ), - Instance("BUFG", i_I=pll_sys, o_O=self.cd_sys.clk), + Instance("BUFG", i_I=self.pll_sys, o_O=self.cd_sys.clk), Instance("BUFG", i_I=pll_sys4x, o_O=self.cd_sys4x.clk), Instance("BUFG", i_I=pll_clk200, o_O=self.cd_clk200.clk), AsyncResetSynchronizer(self.cd_sys, ~pll_locked),