Skip to content

Commit ad9408d

Browse files
rroohhhwhitequark
authored andcommitted
Add TE0714-03-50-2I
1 parent 895b4e1 commit ad9408d

File tree

1 file changed

+132
-0
lines changed

1 file changed

+132
-0
lines changed

nmigen_boards/te0714_03_50_2I.py

Lines changed: 132 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,132 @@
1+
from nmigen.build import *
2+
from nmigen.vendor.xilinx_7series import *
3+
from .resources import *
4+
5+
6+
__all__ = ["TE0714_03_50_2IPlatform"]
7+
8+
9+
class TE0714_03_50_2IPlatform(Xilinx7SeriesPlatform):
10+
device = "xc7a50t"
11+
package = "csg325"
12+
speed = "2"
13+
default_clk = "clk25"
14+
resources = [
15+
Resource("clk25", 0, Pins("T14", dir="i"), Clock(25e6), Attrs(IOSTANDARD="LVCMOS18")),
16+
*LEDResources(pins="K18", attrs=Attrs(IOSTANDARD="LVCMOS18")),
17+
*SPIFlashResources(0,
18+
cs="L15", clk="E8", copi="K16", cipo="K17", wp="J15", hold="J16",
19+
attrs=Attrs(IOSTANDARD="LVCMOS18")
20+
)
21+
]
22+
connectors = [
23+
Connector("JM1", 0,
24+
"G4 D6 "
25+
"G3 D5 "
26+
"- - "
27+
"C4 B2 "
28+
"C3 B1 "
29+
"- - "
30+
"A4 D2 "
31+
"A3 D1 "
32+
"- - "
33+
"E4 F2 "
34+
"E3 F1 "
35+
"- - "
36+
"K10 H2 "
37+
"L9 H1 "
38+
"- - "
39+
"J5 L5 "
40+
"J4 M5 "
41+
"K6 M2 "
42+
"K5 M1 "
43+
"K3 K2 "
44+
"L2 K1 "
45+
"L4 N1 "
46+
"L3 P1 "
47+
"- - "
48+
"M4 M6 "
49+
"N4 N6 "
50+
"N2 R2 "
51+
"N3 R1 "
52+
"P3 R3 "
53+
"P4 T2 "
54+
"L6 U1 "
55+
"T3 U2 "
56+
"T4 - "
57+
"R5 V2 "
58+
"T5 V3 "
59+
"P5 U4 "
60+
"P6 V4 "
61+
"T7 U5 "
62+
"R7 U6 "
63+
"V6 V7 "
64+
"U7 V8 "
65+
"- - "
66+
"V9 T9 "
67+
"U9 T8 "
68+
"V11 F8 "
69+
"U11 R8 "
70+
"V12 - "
71+
"V13 F12 "
72+
"- - "
73+
"- - "
74+
),
75+
Connector("JM2", 0,
76+
"A12 B9 "
77+
"B12 A9 "
78+
"A13 B10 "
79+
"A14 A10 "
80+
"B14 B11 "
81+
"A15 C11 "
82+
"C14 C8 "
83+
"B15 D8 "
84+
"- E11 "
85+
"A17 C9 "
86+
"B16 D9 "
87+
"B17 D11 "
88+
"C16 C12 "
89+
"C18 D13 "
90+
"C17 C13 "
91+
"D18 E13 "
92+
"E17 D14 "
93+
"- - "
94+
"E18 D15 "
95+
"F17 E15 "
96+
"F18 D16 "
97+
"G17 E16 "
98+
"F15 F14 "
99+
"G15 G14 "
100+
"H17 G16 "
101+
"H18 H16 "
102+
"- A16 "
103+
"K17 J14 "
104+
"L18 K15 "
105+
"M17 M14 "
106+
"M16 N14 "
107+
"R18 N16 "
108+
"T18 N17 "
109+
"E8 K16 "
110+
"L15 J16 "
111+
"L17 - "
112+
"J15 P16 "
113+
"N18 P15 "
114+
"P18 R17 "
115+
"T17 R16 "
116+
"U17 P14 "
117+
"- R15 "
118+
"V17 T15 "
119+
"V16 T14 "
120+
"U16 - "
121+
"U15 R13 "
122+
"U14 T13 "
123+
"V14 U12 "
124+
"U10 T12 "
125+
"L14 R12 "
126+
)
127+
]
128+
129+
130+
if __name__ == "__main__":
131+
from .test.blinky import Blinky
132+
TE0714_03_50_2IPlatform().build(Blinky(), do_program=False)

0 commit comments

Comments
 (0)