From b968cfade961a329c26035ef8bfdf3058e95a9f1 Mon Sep 17 00:00:00 2001 From: whitequark Date: Fri, 10 Dec 2021 07:38:00 +0000 Subject: Rename nMigen to Amaranth HDL. --- nmigen_boards/tinyfpga_ax2.py | 27 +++++---------------------- 1 file changed, 5 insertions(+), 22 deletions(-) (limited to 'nmigen_boards/tinyfpga_ax2.py') diff --git a/nmigen_boards/tinyfpga_ax2.py b/nmigen_boards/tinyfpga_ax2.py index c7cafa1..ca9b0b9 100644 --- a/nmigen_boards/tinyfpga_ax2.py +++ b/nmigen_boards/tinyfpga_ax2.py @@ -1,24 +1,7 @@ -from nmigen.build import * -from nmigen.vendor.lattice_machxo2 import * -from .resources import * +from amaranth_boards.tinyfpga_ax2 import * +from amaranth_boards.tinyfpga_ax2 import __all__ -__all__ = ["TinyFPGAAX2Platform"] - - -class TinyFPGAAX2Platform(LatticeMachXO2Platform): - device = "LCMXO2-1200HC" - package = "SG32" - speed = "4" - connectors = [ - Connector("gpio", 0, - # Left side of the board - # 1 2 3 4 5 6 7 8 9 10 11 - "13 14 16 17 20 21 23 25 26 27 28 " - # Right side of the board - # 12 13 14 15 16 17 18 19 20 21 22 - "- - - - 4 5 8 9 10 11 12 " - ), - ] - resources = [] - # This board doesn't have an integrated programmer. +import warnings +warnings.warn("instead of nmigen_boards.tinyfpga_ax2, use amaranth_boards.tinyfpga_ax2", + DeprecationWarning, stacklevel=2) -- cgit v1.2.3