pano_logic_g2: move gmii_rst_n to _CRG.
This commit is contained in:
parent
935a71123b
commit
22f18f618e
|
@ -24,6 +24,10 @@ class _CRG(Module):
|
|||
|
||||
# # #
|
||||
|
||||
# Take Ethernet PHY out of reset to enable clk125 (25MHz otherwise).
|
||||
gmii_rst_n = platform.request("gmii_rst_n")
|
||||
self.comb += gmii_rst_n.eq(1)
|
||||
|
||||
self.submodules.pll = pll = S6PLL(speedgrade=-2)
|
||||
pll.register_clkin(platform.request("clk125"), 125e6)
|
||||
pll.create_clkout(self.cd_sys, clk_freq)
|
||||
|
@ -46,12 +50,6 @@ class BaseSoC(SoCCore):
|
|||
sys_clk_freq = sys_clk_freq)
|
||||
self.add_csr("leds")
|
||||
|
||||
# Take Ethernet Phy out of reset for SYSCLK of 125 Mhz
|
||||
gmii_rst_n = platform.request("gmii_rst_n")
|
||||
self.comb += [
|
||||
gmii_rst_n.eq(1)
|
||||
]
|
||||
|
||||
# Build --------------------------------------------------------------------------------------------
|
||||
|
||||
def main():
|
||||
|
|
Loading…
Reference in New Issue