aboutsummaryrefslogtreecommitdiff
path: root/nmigen_boards/tinyfpga_ax1.py
diff options
context:
space:
mode:
authorwhitequark <whitequark@whitequark.org>2021-12-10 07:38:00 +0000
committerwhitequark <whitequark@whitequark.org>2021-12-10 08:30:37 +0000
commitb968cfade961a329c26035ef8bfdf3058e95a9f1 (patch)
tree94891b950cb0547868877027230ff09b9cb56d4a /nmigen_boards/tinyfpga_ax1.py
parentbd7fdd379d8b28f8b542f251a11ca28297e8fd6f (diff)
Rename nMigen to Amaranth HDL.
Diffstat (limited to 'nmigen_boards/tinyfpga_ax1.py')
-rw-r--r--nmigen_boards/tinyfpga_ax1.py27
1 files changed, 5 insertions, 22 deletions
diff --git a/nmigen_boards/tinyfpga_ax1.py b/nmigen_boards/tinyfpga_ax1.py
index d67fb28..40e926c 100644
--- a/nmigen_boards/tinyfpga_ax1.py
+++ b/nmigen_boards/tinyfpga_ax1.py
@@ -1,24 +1,7 @@
-from nmigen.build import *
-from nmigen.vendor.lattice_machxo2 import *
-from .resources import *
+from amaranth_boards.tinyfpga_ax1 import *
+from amaranth_boards.tinyfpga_ax1 import __all__
-__all__ = ["TinyFPGAAX1Platform"]
-
-
-class TinyFPGAAX1Platform(LatticeMachXO2Platform):
- device = "LCMXO2-256HC"
- 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_ax1, use amaranth_boards.tinyfpga_ax1",
+ DeprecationWarning, stacklevel=2)