litedram_gen: Add pll_locked to ECP5

Signed-off-by: Matt Johnston <matt@codeconstruct.com.au>
This commit is contained in:
Matt Johnston 2021-08-13 14:42:34 +08:00
parent 3d1d711a43
commit 367231322d
1 changed files with 1 additions and 0 deletions

View File

@ -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):