cores/clock/xilinx: Add power down support.
This commit is contained in:
parent
cbb75b852e
commit
55344b4c14
|
@ -22,6 +22,7 @@ class XilinxClocking(Module, AutoCSR):
|
|||
def __init__(self, vco_margin=0):
|
||||
self.vco_margin = vco_margin
|
||||
self.reset = Signal()
|
||||
self.power_down = Signal()
|
||||
self.locked = Signal()
|
||||
self.clkin_freq = None
|
||||
self.vcxo_freq = None
|
||||
|
|
|
@ -37,6 +37,7 @@ class S6PLL(XilinxClocking):
|
|||
p_BANDWIDTH = "OPTIMIZED",
|
||||
p_COMPENSATION = "INTERNAL",
|
||||
i_RST = self.reset,
|
||||
i_PWRDWN = self.power_down,
|
||||
o_LOCKED = self.locked,
|
||||
|
||||
# VCO.
|
||||
|
|
|
@ -34,6 +34,7 @@ class S7PLL(XilinxClocking):
|
|||
# Global.
|
||||
p_STARTUP_WAIT = "FALSE",
|
||||
i_RST = self.reset,
|
||||
i_PWRDWN = self.power_down,
|
||||
o_LOCKED = self.locked,
|
||||
|
||||
# VCO.
|
||||
|
@ -81,6 +82,7 @@ class S7MMCM(XilinxClocking):
|
|||
# Global.
|
||||
p_BANDWIDTH = "OPTIMIZED",
|
||||
i_RST = self.reset,
|
||||
i_PWRDWN = self.power_down,
|
||||
o_LOCKED = self.locked,
|
||||
|
||||
# VCO.
|
||||
|
|
|
@ -39,6 +39,7 @@ class USPLL(XilinxClocking):
|
|||
# Global.
|
||||
p_STARTUP_WAIT = "FALSE",
|
||||
i_RST = self.reset,
|
||||
i_PWRDWN = self.power_down,
|
||||
o_LOCKED = self.locked,
|
||||
|
||||
# VCO.
|
||||
|
@ -84,6 +85,7 @@ class USMMCM(XilinxClocking):
|
|||
# Global.
|
||||
p_BANDWIDTH = "OPTIMIZED",
|
||||
i_RST = self.reset,
|
||||
i_PWRDWN = self.power_down,
|
||||
o_LOCKED = self.locked,
|
||||
|
||||
# VCO.
|
||||
|
|
|
@ -39,6 +39,7 @@ class USPPLL(XilinxClocking):
|
|||
# Global.
|
||||
p_STARTUP_WAIT = "FALSE",
|
||||
i_RST = self.reset,
|
||||
i_PWRDWN = self.power_down,
|
||||
o_LOCKED = self.locked,
|
||||
|
||||
# VCO.
|
||||
|
@ -84,6 +85,7 @@ class USPMMCM(XilinxClocking):
|
|||
# Global.
|
||||
p_BANDWIDTH = "OPTIMIZED",
|
||||
i_RST = self.reset,
|
||||
i_PWRDWN = self.power_down,
|
||||
o_LOCKED = self.locked,
|
||||
|
||||
# VCO.
|
||||
|
|
Loading…
Reference in New Issue