From b40277c21ac099ec3d3cd89d6c2756957f1223f9 Mon Sep 17 00:00:00 2001 From: Robin Ole Heinemann Date: Sun, 18 Aug 2019 23:07:37 +0200 Subject: [PATCH] Add ZTurn lite platform. --- nmigen_boards/zturn_lite_z007s.py | 76 +++++++++++++++++++++++++++++++ nmigen_boards/zturn_lite_z010.py | 8 ++++ 2 files changed, 84 insertions(+) create mode 100644 nmigen_boards/zturn_lite_z007s.py create mode 100644 nmigen_boards/zturn_lite_z010.py diff --git a/nmigen_boards/zturn_lite_z007s.py b/nmigen_boards/zturn_lite_z007s.py new file mode 100644 index 0000000..a8dbd73 --- /dev/null +++ b/nmigen_boards/zturn_lite_z007s.py @@ -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 index 0000000..d73de1a --- /dev/null +++ b/nmigen_boards/zturn_lite_z010.py @@ -0,0 +1,8 @@ +from .zturn_lite_z007s import ZTurnLiteZ007SPlatform + + +__all__ = ["ZTurnLiteZ010Platform"] + + +class ZTurnLiteZ010Platform(ZTurnLiteZ007SPlatform): + device = "xc7z010" -- 2.30.2