litedram_gen: Add pll_locked to ECP5
Signed-off-by: Matt Johnston <matt@codeconstruct.com.au>
This commit is contained in:
parent
3d1d711a43
commit
367231322d
|
@ -336,6 +336,7 @@ class LiteDRAMECP5DDRPHYCRG(Module):
|
||||||
AsyncResetSynchronizer(self.cd_sys, ~pll.locked | self.reset),
|
AsyncResetSynchronizer(self.cd_sys, ~pll.locked | self.reset),
|
||||||
AsyncResetSynchronizer(self.cd_sys2x, ~pll.locked | self.reset),
|
AsyncResetSynchronizer(self.cd_sys2x, ~pll.locked | self.reset),
|
||||||
]
|
]
|
||||||
|
self.comb += platform.request("pll_locked").eq(pll.locked)
|
||||||
|
|
||||||
class LiteDRAMS7DDRPHYCRG(Module):
|
class LiteDRAMS7DDRPHYCRG(Module):
|
||||||
def __init__(self, platform, core_config):
|
def __init__(self, platform, core_config):
|
||||||
|
|
Loading…
Reference in New Issue