soc/cores/clock: reset PLL/MMCM on all 7-series/Ultrascale with self.reset signal
authorFlorent Kermarrec <florent@enjoy-digital.fr>
Wed, 20 Nov 2019 18:24:40 +0000 (19:24 +0100)
committerFlorent Kermarrec <florent@enjoy-digital.fr>
Wed, 20 Nov 2019 18:24:40 +0000 (19:24 +0100)
litex/soc/cores/clock.py

index 70133f39900c4a1f42a53690c5507e20a3e1c21b..e1964555f738170e965edc1ef849c28853f0434c 100644 (file)
@@ -225,7 +225,7 @@ class S7PLL(XilinxClocking):
         config = self.compute_config()
         pll_fb = Signal()
         self.params.update(
-            p_STARTUP_WAIT="FALSE", o_LOCKED=self.locked,
+            p_STARTUP_WAIT="FALSE", o_LOCKED=self.locked, i_RST=self.reset,
 
             # VCO
             p_REF_JITTER1=0.01, p_CLKIN1_PERIOD=1e9/self.clkin_freq,
@@ -319,7 +319,7 @@ class USPLL(XilinxClocking):
         config = self.compute_config()
         pll_fb = Signal()
         self.params.update(
-            p_STARTUP_WAIT="FALSE", o_LOCKED=self.locked,
+            p_STARTUP_WAIT="FALSE", o_LOCKED=self.locked, i_RST=self.reset,
 
             # VCO
             p_REF_JITTER1=0.01, p_CLKIN1_PERIOD=1e9/self.clkin_freq,
@@ -355,7 +355,7 @@ class USMMCM(XilinxClocking):
         config = self.compute_config()
         mmcm_fb = Signal()
         self.params.update(
-            p_BANDWIDTH="OPTIMIZED", o_LOCKED=self.locked,
+            p_BANDWIDTH="OPTIMIZED", o_LOCKED=self.locked, i_RST=self.reset,
 
             # VCO
             p_REF_JITTER1=0.01, p_CLKIN1_PERIOD=1e9/self.clkin_freq,