aboutsummaryrefslogtreecommitdiff
path: root/nmigen_boards/versa_ecp5_5g.py
diff options
context:
space:
mode:
authorwhitequark <whitequark@whitequark.org>2019-06-25 15:50:25 +0000
committerwhitequark <whitequark@whitequark.org>2019-06-25 15:50:37 +0000
commit18a80fade70bed286a94a2f8ee4a4cbe47833505 (patch)
tree2714fe27b0514f626ba10bfe3a3d9bcc68e35b11 /nmigen_boards/versa_ecp5_5g.py
parent947a7f4ff3826651c7739cc840b25d48914ce99f (diff)
Add Versa ECP5/ECP5-5G support.
Diffstat (limited to 'nmigen_boards/versa_ecp5_5g.py')
-rw-r--r--nmigen_boards/versa_ecp5_5g.py14
1 files changed, 14 insertions, 0 deletions
diff --git a/nmigen_boards/versa_ecp5_5g.py b/nmigen_boards/versa_ecp5_5g.py
new file mode 100644
index 0000000..75512eb
--- /dev/null
+++ b/nmigen_boards/versa_ecp5_5g.py
@@ -0,0 +1,14 @@
+from .versa_ecp5 import VersaECP5Platform
+
+
+__all__ = ["VersaECP55GPlatform"]
+
+
+class VersaECP55GPlatform(VersaECP5Platform):
+ device = "LFE5UM5G-45F"
+ # Everything else is identical between 3G and 5G Versa boards.
+
+
+if __name__ == "__main__":
+ from ._blinky import build_and_program
+ build_and_program(VersaECP55GPlatform, "clk100")