diff options
| author | whitequark <whitequark@whitequark.org> | 2021-12-10 07:38:00 +0000 |
|---|---|---|
| committer | whitequark <whitequark@whitequark.org> | 2021-12-10 08:30:37 +0000 |
| commit | b968cfade961a329c26035ef8bfdf3058e95a9f1 (patch) | |
| tree | 94891b950cb0547868877027230ff09b9cb56d4a /nmigen_boards/versa_ecp5_5g.py | |
| parent | bd7fdd379d8b28f8b542f251a11ca28297e8fd6f (diff) | |
Rename nMigen to Amaranth HDL.
Diffstat (limited to 'nmigen_boards/versa_ecp5_5g.py')
| -rw-r--r-- | nmigen_boards/versa_ecp5_5g.py | 17 |
1 files changed, 5 insertions, 12 deletions
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) |
