From b84308cb58462fef9ed6dcfc952f2f630c034e19 Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Mon, 26 Aug 2019 09:06:55 +0200 Subject: [PATCH] list all platforms/targets in platforms.py, targets.py to ease import --- litex_boards/community/platforms/__init__.py | 6 ++++++ litex_boards/community/targets/__init__.py | 3 +++ litex_boards/official/platforms/__init__.py | 12 ++++++++++++ litex_boards/official/targets/__init__.py | 10 ++++++++++ litex_boards/partner/platforms/__init__.py | 7 +++++++ litex_boards/partner/targets/__init__.py | 7 +++++++ litex_boards/platforms.py | 3 +++ litex_boards/targets.py | 3 +++ 8 files changed, 51 insertions(+) create mode 100644 litex_boards/platforms.py create mode 100644 litex_boards/targets.py diff --git a/litex_boards/community/platforms/__init__.py b/litex_boards/community/platforms/__init__.py index e69de29..dd11bf3 100644 --- a/litex_boards/community/platforms/__init__.py +++ b/litex_boards/community/platforms/__init__.py @@ -0,0 +1,6 @@ +from litex_boards.community.platforms import ac701 +from litex_boards.community.platforms import de10lite +from litex_boards.community.platforms import de1soc +from litex_boards.community.platforms import de2_115 +from litex_boards.community.platforms import ecp5_evn +from litex_boards.community.platforms import sp605 diff --git a/litex_boards/community/targets/__init__.py b/litex_boards/community/targets/__init__.py index e69de29..7e0fc0b 100644 --- a/litex_boards/community/targets/__init__.py +++ b/litex_boards/community/targets/__init__.py @@ -0,0 +1,3 @@ +from litex_boards.community.targets import netv2 +from litex_boards.community.targets import trellisboard +from litex_boards.community.targets import ulx3s diff --git a/litex_boards/official/platforms/__init__.py b/litex_boards/official/platforms/__init__.py index e69de29..7661cf1 100644 --- a/litex_boards/official/platforms/__init__.py +++ b/litex_boards/official/platforms/__init__.py @@ -0,0 +1,12 @@ +from litex_boards.official.platforms import arty +from litex_boards.official.platforms import avalanche +from litex_boards.official.platforms import de0nano +from litex_boards.official.platforms import genesys2 +from litex_boards.official.platforms import kc705 +from litex_boards.official.platforms import kcu105 +from litex_boards.official.platforms import machxo3 +from litex_boards.official.platforms import minispartan6 +from litex_boards.official.platforms import nexys4ddr +from litex_boards.official.platforms import nexys_video +from litex_boards.official.platforms import versa_ecp3 +from litex_boards.official.platforms import versa_ecp5 diff --git a/litex_boards/official/targets/__init__.py b/litex_boards/official/targets/__init__.py index e69de29..a0a1415 100644 --- a/litex_boards/official/targets/__init__.py +++ b/litex_boards/official/targets/__init__.py @@ -0,0 +1,10 @@ +from litex_boards.official.targets import arty +from litex_boards.official.targets import de0nano +from litex_boards.official.targets import genesys2 +from litex_boards.official.targets import kc705 +from litex_boards.official.targets import kcu105 +from litex_boards.official.targets import minispartan6 +from litex_boards.official.targets import nexys4ddr +from litex_boards.official.targets import nexys_video +from litex_boards.official.targets import simple +from litex_boards.official.targets import versa_ecp5 diff --git a/litex_boards/partner/platforms/__init__.py b/litex_boards/partner/platforms/__init__.py index e69de29..e52d5a6 100644 --- a/litex_boards/partner/platforms/__init__.py +++ b/litex_boards/partner/platforms/__init__.py @@ -0,0 +1,7 @@ +from litex_boards.partner.platforms import fomu_evt +from litex_boards.partner.platforms import fomu_hacker +from litex_boards.partner.platforms import fomu_pvt +from litex_boards.partner.platforms import netv2 +from litex_boards.partner.platforms import tinyfpga_bx +from litex_boards.partner.platforms import trellisboard +from litex_boards.partner.platforms import ulx3s diff --git a/litex_boards/partner/targets/__init__.py b/litex_boards/partner/targets/__init__.py index e69de29..b58a25b 100644 --- a/litex_boards/partner/targets/__init__.py +++ b/litex_boards/partner/targets/__init__.py @@ -0,0 +1,7 @@ +from litex_boards.partner.targets import fomu_evt +from litex_boards.partner.targets import fomu_hacker +from litex_boards.partner.targets import fomu_pvt +from litex_boards.partner.targets import netv2 +from litex_boards.partner.targets import tinyfpga_bx +from litex_boards.partner.targets import trellisboard +from litex_boards.partner.targets import ulx3s diff --git a/litex_boards/platforms.py b/litex_boards/platforms.py new file mode 100644 index 0000000..363554b --- /dev/null +++ b/litex_boards/platforms.py @@ -0,0 +1,3 @@ +from litex_boards.official.platforms import * +from litex_boards.partner.platforms import * +from litex_boards.community.platforms import * diff --git a/litex_boards/targets.py b/litex_boards/targets.py new file mode 100644 index 0000000..9f35cde --- /dev/null +++ b/litex_boards/targets.py @@ -0,0 +1,3 @@ +from litex_boards.official.targets import * +from litex_boards.partner.targets import * +from litex_boards.community.targets import *