From 5137c2bf884b2c24e0deafdd120823b1817a24f8 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Sat, 17 Nov 2018 17:36:57 +0100 Subject: [PATCH] test/test_targets: update --- test/test_targets.py | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/test/test_targets.py b/test/test_targets.py index 615e54482..f6fc56b6b 100644 --- a/test/test_targets.py +++ b/test/test_targets.py @@ -57,6 +57,16 @@ class TestTargets(unittest.TestCase): # lattice boards + def test_versa_ecp5(self): + from litex.boards.targets.versa_ecp5 import BaseSoC + errors = build_test([BaseSoC()]) + self.assertEqual(errors, 0) + + def test_versa_ulx3s(self): + from litex.boards.targets.ulx3s import BaseSoC + errors = build_test([BaseSoC()]) + self.assertEqual(errors, 0) + # build simple design for all platforms def test_simple(self): platforms = [ @@ -76,8 +86,8 @@ class TestTargets(unittest.TestCase): "papilio_pro", "tinyfpga_b", "tinyfpga_bx", - "versa", - "versaecp55g" + "versa_ecp3", + "versa_ecp5" ] for p in platforms: os.system("litex_simple litex.boards.platforms." + p +