2023-12-28 23:22:29 +01:00
|
|
|
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")
|
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)
|