test: update.
This commit is contained in:
parent
01f7947b56
commit
5d202ddb97
|
@ -68,7 +68,7 @@ class _CRG(Module):
|
||||||
# BaseSoC ------------------------------------------------------------------------------------------
|
# BaseSoC ------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
class BaseSoC(SoCCore):
|
class BaseSoC(SoCCore):
|
||||||
def __init__(self, toolchain, sys_clk_freq=int(100e6), with_ethernet=False, with_etherbone=False, **kwargs):
|
def __init__(self, toolchain="vivado", sys_clk_freq=int(100e6), with_ethernet=False, with_etherbone=False, **kwargs):
|
||||||
platform = arty.Platform(toolchain=toolchain)
|
platform = arty.Platform(toolchain=toolchain)
|
||||||
|
|
||||||
# SoCCore ----------------------------------------------------------------------------------
|
# SoCCore ----------------------------------------------------------------------------------
|
||||||
|
|
|
@ -74,9 +74,9 @@ class TestTargets(unittest.TestCase):
|
||||||
self.assertEqual(errors, 0)
|
self.assertEqual(errors, 0)
|
||||||
|
|
||||||
def test_arty_symbiflow(self):
|
def test_arty_symbiflow(self):
|
||||||
from litex.boards.targets.arty_symbiflow import BaseSoC
|
from litex.boards.targets.arty import BaseSoC
|
||||||
errors = build_test([
|
errors = build_test([
|
||||||
BaseSoC(**test_kwargs)
|
BaseSoC(toolchain="symbiflow", **test_kwargs)
|
||||||
])
|
])
|
||||||
self.assertEqual(errors, 0)
|
self.assertEqual(errors, 0)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue