gsd_butterstick: Remove ECLKBRIDGECS (not required).
This commit is contained in:
parent
f0a629774a
commit
9e18d9bc34
|
@ -61,20 +61,14 @@ class _CRG(Module):
|
||||||
self.sync.por += If(~por_done, por_count.eq(por_count - 1))
|
self.sync.por += If(~por_done, por_count.eq(por_count - 1))
|
||||||
|
|
||||||
# PLL
|
# PLL
|
||||||
sys2x_clk_ecsout = Signal()
|
|
||||||
self.submodules.pll = pll = ECP5PLL()
|
self.submodules.pll = pll = ECP5PLL()
|
||||||
self.comb += pll.reset.eq(~por_done | ~rst_n | self.rst)
|
self.comb += pll.reset.eq(~por_done | ~rst_n | self.rst)
|
||||||
pll.register_clkin(clk30, 30e6)
|
pll.register_clkin(clk30, 30e6)
|
||||||
pll.create_clkout(self.cd_sys2x_i, 2*sys_clk_freq)
|
pll.create_clkout(self.cd_sys2x_i, 2*sys_clk_freq)
|
||||||
pll.create_clkout(self.cd_init, 25e6)
|
pll.create_clkout(self.cd_init, 25e6)
|
||||||
self.specials += [
|
self.specials += [
|
||||||
Instance("ECLKBRIDGECS",
|
|
||||||
i_CLK0 = self.cd_sys2x_i.clk,
|
|
||||||
i_SEL = 0,
|
|
||||||
o_ECSOUT = sys2x_clk_ecsout,
|
|
||||||
),
|
|
||||||
Instance("ECLKSYNCB",
|
Instance("ECLKSYNCB",
|
||||||
i_ECLKI = sys2x_clk_ecsout,
|
i_ECLKI = self.cd_sys2x_i.clk,
|
||||||
i_STOP = self.stop,
|
i_STOP = self.stop,
|
||||||
o_ECLKO = self.cd_sys2x.clk),
|
o_ECLKO = self.cd_sys2x.clk),
|
||||||
Instance("CLKDIVF",
|
Instance("CLKDIVF",
|
||||||
|
|
Loading…
Reference in New Issue