bench: Use full imports.
This commit is contained in:
parent
d10cda84b6
commit
6d71adae2b
|
@ -13,8 +13,8 @@ from migen import *
|
|||
from migen.genlib.cdc import MultiReg
|
||||
from migen.genlib.misc import WaitTimer
|
||||
|
||||
from litex_boards.platforms import arty
|
||||
from litex_boards.targets.arty import _CRG
|
||||
from litex_boards.platforms import digilent_arty
|
||||
from litex_boards.targets.digilent_arty import _CRG
|
||||
|
||||
from litex.soc.cores.clock import *
|
||||
from litex.soc.interconnect.csr import *
|
||||
|
@ -28,7 +28,7 @@ from liteeth.phy.mii import LiteEthPHYMII
|
|||
|
||||
class BenchSoC(SoCCore):
|
||||
def __init__(self, sys_clk_freq=int(50e6)):
|
||||
platform = arty.Platform()
|
||||
platform = digilent_arty.Platform()
|
||||
|
||||
# SoCMini ----------------------------------------------------------------------------------
|
||||
SoCMini.__init__(self, platform, clk_freq=sys_clk_freq,
|
||||
|
|
|
@ -11,8 +11,8 @@ import argparse
|
|||
|
||||
from migen import *
|
||||
|
||||
from litex_boards.platforms import genesys2
|
||||
from litex_boards.targets.genesys2 import _CRG
|
||||
from litex_boards.platforms import digilent_genesys2
|
||||
from litex_boards.targets.digilent_genesys2 import _CRG
|
||||
|
||||
from litex.soc.cores.clock import *
|
||||
from litex.soc.interconnect.csr import *
|
||||
|
@ -25,7 +25,7 @@ from liteeth.phy.s7rgmii import LiteEthPHYRGMII
|
|||
|
||||
class BenchSoC(SoCCore):
|
||||
def __init__(self, sys_clk_freq=int(50e6)):
|
||||
platform = genesys2.Platform()
|
||||
platform = digilent_genesys2.Platform()
|
||||
|
||||
# SoCMini ----------------------------------------------------------------------------------
|
||||
SoCMini.__init__(self, platform, clk_freq=sys_clk_freq,
|
||||
|
|
|
@ -12,7 +12,7 @@ import argparse
|
|||
from migen import *
|
||||
from migen.genlib.resetsync import AsyncResetSynchronizer
|
||||
|
||||
from litex_boards.platforms import kcu105
|
||||
from litex_boards.platforms import xilinx_kcu105
|
||||
|
||||
from litex.soc.cores.clock import *
|
||||
from litex.soc.interconnect.csr import *
|
||||
|
@ -41,7 +41,7 @@ class _CRG(Module, AutoCSR):
|
|||
|
||||
class BenchSoC(SoCCore):
|
||||
def __init__(self, sys_clk_freq=int(125e6)):
|
||||
platform = kcu105.Platform()
|
||||
platform = xilinx_kcu105.Platform()
|
||||
|
||||
# SoCMini ----------------------------------------------------------------------------------
|
||||
SoCMini.__init__(self, platform, clk_freq=sys_clk_freq,
|
||||
|
|
|
@ -13,7 +13,7 @@ from migen import *
|
|||
from migen.genlib.resetsync import AsyncResetSynchronizer
|
||||
|
||||
from litex.build.generic_platform import *
|
||||
from litex_boards.platforms import xcu1525
|
||||
from litex_boards.platforms import sqrl_xcu1525
|
||||
|
||||
from litex.soc.cores.clock import *
|
||||
from litex.soc.interconnect.csr import *
|
||||
|
@ -54,7 +54,7 @@ class _CRG(Module, AutoCSR):
|
|||
|
||||
class BenchSoC(SoCCore):
|
||||
def __init__(self, sys_clk_freq=int(125e6)):
|
||||
platform = xcu1525.Platform()
|
||||
platform = sqrl_xcu1525.Platform()
|
||||
platform.add_extension(_qsfp_io)
|
||||
|
||||
# SoCMini ----------------------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in New Issue