forked from f4pga/f4pga-arch-defs
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathboards.cmake
190 lines (165 loc) · 5.15 KB
/
boards.cmake
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
get_target_property_required(OPENOCD env OPENOCD)
add_xc_board(
BOARD basys3
DEVICE xc7a50t-basys3
PACKAGE test
PROG_CMD "${OPENOCD} -f ${PRJXRAY_DIR}/utils/openocd/board-digilent-basys3.cfg -c \\\"init $<SEMICOLON> pld load 0 \${OUT_BIN} $<SEMICOLON> exit\\\""
PART xc7a35tcpg236-1
)
add_xc_board(
BOARD basys3-full
DEVICE xc7a50t
PACKAGE test
PROG_CMD "${OPENOCD} -f ${PRJXRAY_DIR}/utils/openocd/board-digilent-basys3.cfg -c \\\"init $<SEMICOLON> pld load 0 \${OUT_BIN} $<SEMICOLON> exit\\\""
PART xc7a35tcpg236-1
)
add_xc_board(
BOARD basys3-bottom
DEVICE xc7a50t-bottom
PACKAGE test
PROG_CMD "${OPENOCD} -f ${PRJXRAY_DIR}/utils/openocd/board-digilent-basys3.cfg -c \\\"init $<SEMICOLON> pld load 0 \${OUT_BIN} $<SEMICOLON> exit\\\""
PART xc7a35tcpg236-1
)
add_xc_board(
BOARD arty-swbut
DEVICE xc7a50t-arty-swbut
PACKAGE test
PROG_CMD "${OPENOCD} -f ${PRJXRAY_DIR}/utils/openocd/board-digilent-basys3.cfg -c \\\"init $<SEMICOLON> pld load 0 \${OUT_BIN} $<SEMICOLON> exit\\\""
PART xc7a35tcsg324-1
)
add_xc_board(
BOARD arty-swbut-pr
DEVICE xc7a50t-arty-swbut-pr1
PACKAGE test
PROG_CMD "${OPENOCD} -f ${PRJXRAY_DIR}/utils/openocd/board-digilent-basys3.cfg -c \\\"init $<SEMICOLON> pld load 0 \${OUT_BIN} $<SEMICOLON> exit\\\""
PART xc7a35tcsg324-1
)
add_xc_board(
BOARD arty-swbut-overlay
DEVICE xc7a50t-arty-swbut-overlay
PACKAGE test
PROG_CMD "${OPENOCD} -f ${PRJXRAY_DIR}/utils/openocd/board-digilent-basys3.cfg -c \\\"init $<SEMICOLON> pld load 0 \${OUT_BIN} $<SEMICOLON> exit\\\""
PART xc7a35tcsg324-1
)
add_xc_board(
BOARD arty-switch-processing-pr1
DEVICE xc7a50t-arty-switch-processing-pr1
PACKAGE test
PROG_CMD "${OPENOCD} -f ${PRJXRAY_DIR}/utils/openocd/board-digilent-basys3.cfg -c \\\"init $<SEMICOLON> pld load 0 \${OUT_BIN} $<SEMICOLON> exit\\\""
PART xc7a35tcsg324-1
)
add_xc_board(
BOARD arty-switch-processing-pr2
DEVICE xc7a50t-arty-switch-processing-pr2
PACKAGE test
PROG_CMD "${OPENOCD} -f ${PRJXRAY_DIR}/utils/openocd/board-digilent-basys3.cfg -c \\\"init $<SEMICOLON> pld load 0 \${OUT_BIN} $<SEMICOLON> exit\\\""
PART xc7a35tcsg324-1
)
add_xc_board(
BOARD arty-switch-processing-overlay
DEVICE xc7a50t-arty-switch-processing-overlay
PACKAGE test
PROG_CMD "${OPENOCD} -f ${PRJXRAY_DIR}/utils/openocd/board-digilent-basys3.cfg -c \\\"init $<SEMICOLON> pld load 0 \${OUT_BIN} $<SEMICOLON> exit\\\""
PART xc7a35tcsg324-1
)
add_xc_board(
BOARD arty-uart
DEVICE xc7a50t-arty-uart
PACKAGE test
PROG_CMD "${OPENOCD} -f ${PRJXRAY_DIR}/utils/openocd/board-digilent-basys3.cfg -c \\\"init $<SEMICOLON> pld load 0 \${OUT_BIN} $<SEMICOLON> exit\\\""
PART xc7a35tcsg324-1
)
add_xc_board(
BOARD arty-full
DEVICE xc7a50t
PACKAGE test
PROG_CMD "${OPENOCD} -f ${PRJXRAY_DIR}/utils/openocd/board-digilent-basys3.cfg -c \\\"init $<SEMICOLON> pld load 0 \${OUT_BIN} $<SEMICOLON> exit\\\""
PART xc7a35tcsg324-1
)
add_xc_board(
BOARD arty100t-full
DEVICE xc7a100t
PACKAGE test
PROG_CMD "${OPENOCD} -f ${PRJXRAY_DIR}/utils/openocd/board-digilent-basys3.cfg -c \\\"init $<SEMICOLON> pld load 0 \${OUT_BIN} $<SEMICOLON> exit\\\""
PART xc7a100tcsg324-1
)
add_xc_board(
BOARD nexys
DEVICE xc7a50t
PACKAGE test
PROG_CMD "${OPENOCD} -f ${PRJXRAY_DIR}/utils/openocd/board-digilent-basys3.cfg -c \\\"init $<SEMICOLON> pld load 0 \${OUT_BIN} $<SEMICOLON> exit\\\""
PART xc7a50tcsg324-1
)
add_xc_board(
BOARD netv2-a100t
DEVICE xc7a100t
PACKAGE test
PART xc7a100tfgg484-2
)
# TODO: https://github.com/SymbiFlow/f4pga-arch-defs/issues/344
add_xc_board(
BOARD zybo
DEVICE xc7z010-zybo
PACKAGE test
PART xc7z010clg400-1
)
add_xc_board(
BOARD zybo-full
DEVICE xc7z010
PACKAGE test
PART xc7z010clg400-1
)
add_xc_board(
BOARD nexys_video
DEVICE xc7a200t
PACKAGE test
PART xc7a200tsbg484-1
PROG_CMD "${OPENOCD} -f board/digilent_nexys_video.cfg -c \\\"init $<SEMICOLON> pld load 0 \${OUT_BIN} $<SEMICOLON> exit\\\""
)
add_xc_board(
BOARD nexys_video-mid
DEVICE xc7a200t-mid
PACKAGE test
PART xc7a200tsbg484-1
PROG_TOOL ${OPENOCD_TARGET}
PROG_CMD "${OPENOCD} -f board/digilent_nexys_video.cfg -c \\\"init $<SEMICOLON> pld load 0 \${OUT_BIN} $<SEMICOLON> exit\\\""
)
#add_xc_board(
# BOARD zedboard-full
# DEVICE xc7z020
# PACKAGE test
# PART xc7z020clg484-1
#)
#add_xc_board(
# BOARD microzed-full
# DEVICE xc7z020
# PACKAGE test
# PART xc7z020clg484-1
#)
add_xc_board(
BOARD pynqz1-full
DEVICE xc7z020
PACKAGE test
PART xc7z020clg400-1
PROG_CMD "${OPENOCD} -f ${PRJXRAY_DIR}/utils/openocd/board-digilent-pynqz1.cfg -c \\\"init $<SEMICOLON> pld load 0 \${OUT_BIN} $<SEMICOLON> exit\\\""
)
#add_xc_board(
# BOARD marszx3-full
# DEVICE xc7z020
# PACKAGE test
# PART xc7z020clg484-1
#)
add_xc_board(
BOARD zybo-z7-20
DEVICE xc7z020
PACKAGE test
PART xc7z020clg400-1
PROG_CMD "${OPENOCD} -f ${OPENOCD_DATADIR}/scripts/interface/ftdi/digilent-hs1.cfg -f ${OPENOCD_DATADIR}/scripts/target/zynq_7000.cfg -c \\\"ftdi_tdo_sample_edge falling $<SEMICOLON> adapter_khz 1000000 $<SEMICOLON> init $<SEMICOLON> pld load 0 \${OUT_BIN} $<SEMICOLON> exit\\\""
)
#add Alinx AX7050 board
add_xc_board(
BOARD ax7050
DEVICE xc7s50
PACKAGE test
PART xc7s50fgga484-1
)