cd702ad39bec2894b49d3e3ca628e71373b4cf7b
[nmigen-boards.git] / nmigen_boards / tinyfpga_ax2.py
1 from nmigen.build import *
2 from nmigen.vendor.lattice_machxo2 import *
3 from .resources import *
4
5
6 __all__ = ["TinyFPGAAX2Platform"]
7
8
9 class TinyFPGAAX2Platform(LatticeMachXO2Platform):
10 device = "LCMXO2-1200HC"
11 package = "SG32"
12 speed = "4"
13 connectors = [
14 Connector("gpio", 0,
15 # Left side of the board
16 # 1 2 3 4 5 6 7 8 9 10 11
17 "13 14 16 17 20 21 23 25 26 27 28 "
18 # Right side of the board
19 # 12 13 14 15 16 17 18 19 20 21 22
20 "- - - - 4 5 8 9 10 11 12 "
21 ),
22 ]
23
24 # This board doesn't have an integrated programmer.