Add ZTurn lite platform.
authorRobin Ole Heinemann <robin.ole.heinemann@t-online.de>
Sun, 18 Aug 2019 21:07:37 +0000 (23:07 +0200)
committerwhitequark <whitequark@whitequark.org>
Fri, 30 Aug 2019 08:43:02 +0000 (08:43 +0000)
nmigen_boards/zturn_lite_z007s.py [new file with mode: 0644]
nmigen_boards/zturn_lite_z010.py [new file with mode: 0644]

diff --git a/nmigen_boards/zturn_lite_z007s.py b/nmigen_boards/zturn_lite_z007s.py
new file mode 100644 (file)
index 0000000..a8dbd73
--- /dev/null
@@ -0,0 +1,76 @@
+from nmigen.build import *
+from nmigen.vendor.xilinx_7series import *
+
+
+__all__ = ["ZTurnLiteZ007SPlatform"]
+
+
+class ZTurnLiteZ007SPlatform(Xilinx7SeriesPlatform):
+    device     = "xc7z007s"
+    package    = "clg400"
+    speed      = "1"
+    resources  = []
+    connectors = [
+        Connector("expansion", 0,
+            "-   -   "
+            "B19 E17 "
+            "A20 D18 "
+            "-   -   "
+            "E18 D19 "
+            "E19 D20 "
+            "G17 F16 "
+            "G18 F17 "
+            "-   -   "
+            "-   -   "
+            "J18 J20 "
+            "H18 H20 "
+            "C20 K17 "
+            "B20 K18 "
+            "-   -   "
+            "G19 K19 "
+            "G20 J19 "
+            "F19 H15 "
+            "F20 G15 "
+            "-   -   "
+            "L16 K14 "
+            "L17 J14 "
+            "L19 H16 "
+            "L20 H17 "
+            "-   -   "
+            "-   K16 "
+            "J16 L15 "
+            "M17 M14 "
+            "M18 M15 "
+            "-   -   "
+            "N17 P15 "
+            "P18 P16 "
+            "M19 N15 "
+            "M20 N16 "
+            "-   -   "
+            "N18 -   "
+            "P19 R16 "
+            "N20 R17 "
+            "P20 T20 "
+            "-   U20 "
+            "-   -   "
+            "T16 V20 "
+            "U17 W20 "
+            "U18 T17 "
+            "U19 R18 "
+            "-   -   "
+            "W18 V17 "
+            "W19 V18 "
+            "U14 V16 "
+            "U15 W16 "
+            "-   -   "
+            "V15 Y18 "
+            "W15 Y19 "
+            "Y16 W14 "
+            "Y17 Y14 "
+            "-   -   "
+            "-   -   "
+            "-   -   "
+            "-   -   "
+            "-   -   "
+        ),
+    ]
diff --git a/nmigen_boards/zturn_lite_z010.py b/nmigen_boards/zturn_lite_z010.py
new file mode 100644 (file)
index 0000000..d73de1a
--- /dev/null
@@ -0,0 +1,8 @@
+from .zturn_lite_z007s import ZTurnLiteZ007SPlatform
+
+
+__all__ = ["ZTurnLiteZ010Platform"]
+
+
+class ZTurnLiteZ010Platform(ZTurnLiteZ007SPlatform):
+    device = "xc7z010"