manta/test/test_toolchains.py

17 lines
530 B
Python
Raw Normal View History

2024-08-07 01:46:15 +02:00
import pytest
2023-12-28 23:22:29 +01:00
from amaranth_boards.icestick import ICEStickPlatform
2024-08-07 01:46:15 +02:00
from amaranth_boards.nexys4ddr import Nexys4DDRPlatform
from amaranth_boards.test.blinky import *
2023-12-28 23:22:29 +01:00
from manta.utils import *
@pytest.mark.skipif(not xilinx_tools_installed(), reason="no toolchain installed")
2024-05-12 19:35:18 +02:00
def test_nexys4_ddr_tools():
2023-12-28 23:22:29 +01:00
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)