taobao_a_e115fb: Minor cleanups.

This commit is contained in:
Florent Kermarrec 2022-06-15 11:55:22 +02:00
parent 0ae1417eb5
commit 29b72fac7e
2 changed files with 9 additions and 10 deletions

View File

@ -11,10 +11,10 @@ from migen.genlib.resetsync import AsyncResetSynchronizer
from litex_boards.platforms import taobao_a_e115fb from litex_boards.platforms import taobao_a_e115fb
from litex.soc.cores.clock import CycloneIVPLL
from litex.soc.cores.led import LedChaser
from litex.soc.integration.soc_core import * from litex.soc.integration.soc_core import *
from litex.soc.integration.builder import * from litex.soc.integration.builder import *
from litex.soc.cores.clock import CycloneIVPLL
from litex.soc.cores.led import LedChaser
# CRG ---------------------------------------------------------------------------------------------- # CRG ----------------------------------------------------------------------------------------------
@ -38,8 +38,7 @@ class _CRG(Module):
# BaseSoC ------------------------------------------------------------------------------------------ # BaseSoC ------------------------------------------------------------------------------------------
class BaseSoC(SoCCore): class BaseSoC(SoCCore):
def __init__(self, sys_clk_freq=int(50e6), with_led_chaser=True, def __init__(self, sys_clk_freq=int(50e6), with_led_chaser=True, **kwargs):
**kwargs):
platform = taobao_a_e115fb.Platform() platform = taobao_a_e115fb.Platform()
# CRG -------------------------------------------------------------------------------------- # CRG --------------------------------------------------------------------------------------