Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Timothy Pearson
litex-boards
Commits
c3d8c746
Commit
c3d8c746
authored
4 years ago
by
Florent Kermarrec
Browse files
Options
Download
Email Patches
Plain Diff
test/test_targets: update
parent
8211aca2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
30 additions
and
31 deletions
+30
-31
test/test_targets.py
test/test_targets.py
+30
-31
No files found.
test/test_targets.py
View file @
c3d8c746
...
...
@@ -31,62 +31,61 @@ class TestTargets(unittest.TestCase):
platforms
=
[]
# Xilinx Spartan6
platforms
+=
[(
"official"
,
"minispartan6"
)
]
platforms
+=
[(
"community"
,
"sp605"
)
]
platforms
.
append
(
"minispartan6"
)
platforms
.
append
(
"sp605"
)
# Xilinx Artix7
platforms
+=
[(
"official"
,
"arty"
)
]
platforms
+=
[(
"official"
,
"nexys4ddr"
)
]
platforms
+=
[(
"official"
,
"nexys_video"
)
]
platforms
+=
[(
"partner"
,
"netv2"
)
]
platforms
+=
[(
"community"
,
"ac701"
)
]
platforms
.
append
(
"arty"
)
platforms
.
append
(
"nexys4ddr"
)
platforms
.
append
(
"nexys_video"
)
platforms
.
append
(
"netv2"
)
platforms
.
append
(
"ac701"
)
# Xilinx Kintex7
platforms
+=
[(
"official"
,
"kc705"
)
]
platforms
+=
[(
"official"
,
"genesys2"
)
]
platforms
+=
[(
"community"
,
"kx2"
)
]
platforms
.
append
(
"kc705"
)
platforms
.
append
(
"genesys2"
)
platforms
.
append
(
"kx2"
)
# Xilinx Kintex Ultrascale
platforms
+=
[(
"official"
,
"kcu105"
)
]
platforms
.
append
(
"kcu105"
)
# Intel Cyclone4
platforms
+=
[(
"official"
,
"de0nano"
)
]
platforms
+=
[(
"community"
,
"de2_115"
)
]
platforms
.
append
(
"de0nano"
)
platforms
.
append
(
"de2_115"
)
# Intel Cyclone5
platforms
+=
[(
"community"
,
"de1soc"
)
]
platforms
.
append
(
"de1soc"
)
# Intel Max10
platforms
+=
[(
"community"
,
"de10lite"
)
]
platforms
.
append
(
"de10lite"
)
# Lattice iCE40
platforms
+=
[(
"partner"
,
"tinyfpga_bx"
)
]
platforms
+=
[(
"partner"
,
"fomu_evt"
)
]
platforms
+=
[(
"partner"
,
"fomu_hacker"
)
]
platforms
+=
[(
"partner"
,
"fomu_pvt"
)
]
platforms
.
append
(
"tinyfpga_bx"
)
platforms
.
append
(
"fomu_evt"
)
platforms
.
append
(
"fomu_hacker"
)
platforms
.
append
(
"fomu_pvt"
)
# Lattice MachXO2
platforms
+=
[(
"official"
,
"machxo3"
)
]
platforms
.
append
(
"machxo3"
)
# Lattice ECP3
platforms
+=
[(
"official"
,
"versa_ecp3"
)
]
platforms
.
append
(
"versa_ecp3"
)
# Lattice ECP5
platforms
+=
[(
"official"
,
"versa_ecp5"
)
]
platforms
+=
[(
"partner"
,
"ulx3s"
)
]
platforms
+=
[(
"partner"
,
"trellisboard"
)
]
platforms
+=
[(
"community"
,
"ecp5_evn"
)
]
platforms
.
append
(
"versa_ecp5"
)
platforms
.
append
(
"ulx3s"
)
platforms
.
append
(
"trellisboard"
)
platforms
.
append
(
"ecp5_evn"
)
# Microsemi PolarFire
platforms
+=
[(
"official"
,
"avalanche"
)
]
platforms
.
append
(
"avalanche"
)
for
s
,
p
in
platforms
:
with
self
.
subTest
(
platform
=
p
):
for
name
in
platforms
:
with
self
.
subTest
(
platform
=
name
):
cmd
=
"""
\
litex_boards/official/targets/simple.py litex_boards.{s}.platforms.{p}
\
--cpu-type=vexriscv
\
litex_boards/targets/simple.py litex_boards.platforms.{}
\
--no-compile-software
\
--no-compile-gateware
\
--uart-name="stub"
\
"""
.
format
(
s
=
s
,
p
=
p
)
"""
.
format
(
name
)
subprocess
.
check_call
(
cmd
,
shell
=
True
)
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment