hadbadge: fix _CRG
This commit is contained in:
parent
15f3457aea
commit
beccf670e5
|
@ -40,7 +40,7 @@ class _CRG(Module):
|
||||||
pll.register_clkin(clk8, 8e6)
|
pll.register_clkin(clk8, 8e6)
|
||||||
pll.create_clkout(self.cd_sys, sys_clk_freq, phase=11)
|
pll.create_clkout(self.cd_sys, sys_clk_freq, phase=11)
|
||||||
pll.create_clkout(self.cd_sys_ps, sys_clk_freq, phase=20)
|
pll.create_clkout(self.cd_sys_ps, sys_clk_freq, phase=20)
|
||||||
self.specials += AsyncResetSynchronizer(self.cd_sys, ~por_done | ~pll.locked)
|
self.specials += AsyncResetSynchronizer(self.cd_sys, ~pll.locked)
|
||||||
|
|
||||||
# SDRAM clock
|
# SDRAM clock
|
||||||
self.comb += platform.request("sdram_clock").eq(self.cd_sys_ps.clk)
|
self.comb += platform.request("sdram_clock").eq(self.cd_sys_ps.clk)
|
||||||
|
|
Loading…
Reference in New Issue