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/versa_ecp5_5g.py | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) (limited to 'nmigen_boards/versa_ecp5_5g.py') diff --git a/nmigen_boards/versa_ecp5_5g.py b/nmigen_boards/versa_ecp5_5g.py index 36e6997..0fa6d60 100644 --- a/nmigen_boards/versa_ecp5_5g.py +++ b/nmigen_boards/versa_ecp5_5g.py @@ -1,14 +1,7 @@ -from .versa_ecp5 import VersaECP5Platform +from amaranth_boards.versa_ecp5_5g import * +from amaranth_boards.versa_ecp5_5g import __all__ -__all__ = ["VersaECP55GPlatform"] - - -class VersaECP55GPlatform(VersaECP5Platform): - device = "LFE5UM5G-45F" - # Everything else is identical between 3G and 5G Versa boards. - - -if __name__ == "__main__": - from .test.blinky import * - VersaECP55GPlatform().build(Blinky(), do_program=True) +import warnings +warnings.warn("instead of nmigen_boards.versa_ecp5_5g, use amaranth_boards.versa_ecp5_5g", + DeprecationWarning, stacklevel=2) -- cgit v1.2.3