16 lines
526 B
Python
16 lines
526 B
Python
|
|
from amaranth_boards.test.blinky import *
|
||
|
|
from amaranth_boards.nexys4ddr import Nexys4DDRPlatform
|
||
|
|
from amaranth_boards.icestick import ICEStickPlatform
|
||
|
|
from manta.utils import *
|
||
|
|
import pytest
|
||
|
|
|
||
|
|
|
||
|
|
@pytest.mark.skipif(not xilinx_tools_installed(), reason="no toolchain installed")
|
||
|
|
def test_arty_a7_tools():
|
||
|
|
Nexys4DDRPlatform().build(Blinky(), do_program=False)
|
||
|
|
|
||
|
|
|
||
|
|
@pytest.mark.skipif(not ice40_tools_installed(), reason="no toolchain installed")
|
||
|
|
def test_ice40_tools():
|
||
|
|
ICEStickPlatform().build(Blinky(), do_program=False)
|