forked from fusesoc/blinky
-
Notifications
You must be signed in to change notification settings - Fork 0
/
blinky.core
259 lines (223 loc) · 6.02 KB
/
blinky.core
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
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
CAPI=2:
name : fusesoc:utils:blinky:0
filesets:
apf27:
files:
- apf27/blinky.ucf : {file_type : UCF}
- apf27/options.tcl : {file_type : tclSource}
arty_a7_35t:
files: [arty_a7_35t/blinky.xdc : {file_type : xdc}]
cyc1000:
files:
- cyc1000/cyc1000.sdc : {file_type : SDC}
- cyc1000/pinmap.tcl : {file_type: tclSource}
de0_nano:
files:
- de0_nano/de0_nano.sdc : {file_type : SDC}
- de0_nano/pinmap.tcl : {file_type: tclSource}
de1_soc_revF:
files:
- de1_soc_revF/de1_soc_revF.sdc : {file_type : SDC}
- de1_soc_revF/pinmap.tcl : {file_type : tclSource}
ice40-hx8k_breakout:
files: [ice40-hx8k_breakout/pinout.pcf : {file_type : PCF}]
lx9_microboard:
files: [lx9_microboard/blinky.ucf : {file_type : UCF}]
mini_s7: {files: [mini_s7/blinky.xdc : {file_type : xdc}]}
nexys_a7: {files: [nexys_a7/blinky.xdc : {file_type : xdc}]}
opos6ul_sp:
files: [opos6ul_sp/blinky.ucf : {file_type : UCF}]
rtl:
files: [blinky.v : {file_type : verilogSource}]
proginfo:
files: [sw/proginfo.py : {file_type : user, copyto : proginfo.py}]
tb:
files: [blinky_tb.v : {file_type : verilogSource}]
depend: [vlog_tb_utils]
tinyfpga_bx:
files: [tinyfpga_bx/pinout.pcf : {file_type : PCF}]
ulx3s:
files:
- ulx3s/ulx3s_empty.config : {file_type : user, copyto : ulx3s_empty.config}
- ulx3s/ulx3s_v20.lpf : {file_type : LPF, copyto : ulx3s_v20.lpf}
- ulx3s/blinky_ulx3s.v : {file_type : verilogSource}
upduino2:
files:
- upduino2/blinky_upduino2.v : {file_type : verilogSource}
- upduino2/pinout.pcf : {file_type : PCF}
zrtech_v2:
files:
- zrtech_v2/zrtech_v2.sdc : {file_type : SDC}
- zrtech_v2/pinmap.tcl : {file_type: tclSource}
targets:
default: &default
filesets : [rtl]
toplevel: ["is_toplevel? (blinky)"]
apf27:
default_tool : ise
filesets : [rtl, apf27]
parameters : [clk_freq_hz=100000000]
tools:
ise:
family : Spartan3A
device : xc3s200a
package : ft256
speed : -5
toplevel : blinky
arty_a7_35t:
default_tool : vivado
filesets : [rtl, arty_a7_35t]
parameters : [clk_freq_hz=100000000]
tools:
vivado:
part : xc7a35ticsg324-1L
toplevel : blinky
cyc1000:
<<: *default
default_tool : quartus
filesets_append : [cyc1000]
parameters : [clk_freq_hz=12000000]
tools:
quartus:
family : Cyclone 10 LP
device : 10CL025YU256C8G
de0_nano:
default_tool : quartus
filesets : [rtl, de0_nano]
parameters : [clk_freq_hz=50000000]
tools:
quartus:
family : Cyclone IV E
device : EP4CE22F17C6
toplevel: blinky
de1_soc_revF:
default_tool : quartus
filesets : [rtl, de1_soc_revF]
parameters : [clk_freq_hz=50000000]
tools:
quartus:
family : Cyclone V
device : 5CSEMA5F31C6
board_device_index : 2
toplevel: blinky
ice40-hx8k_breakout:
default_tool : icestorm
filesets : [rtl, proginfo, ice40-hx8k_breakout]
parameters : [clk_freq_hz=12000000]
tools:
icestorm:
nextpnr_options : [--hx8k, --package, ct256]
pnr : next
toplevel : blinky
lx9_microboard:
default_tool : ise
filesets : [rtl, lx9_microboard]
parameters : [clk_freq_hz=40000000]
tools:
ise:
family : Spartan6
device : xc6slx9
package : csg324
speed : -2
toplevel : blinky
mini_s7:
default_tool: vivado
filesets : [rtl, mini_s7]
parameters : [clk_freq_hz=100000000]
tools:
vivado:
part : xc7s25ftgb196-1
toplevel : blinky
nexys_a7:
default_tool: vivado
filesets : [rtl, nexys_a7]
parameters : [clk_freq_hz=100000000]
tools:
vivado:
part : xc7a100tcsg324-1
toplevel : blinky
opos6ul_sp:
default_tool : ise
filesets : [rtl, opos6ul_sp]
parameters : [clk_freq_hz=100000000]
tools:
ise:
family : Spartan6
device : xc6slx9
package : csg225
speed : -2
toplevel : blinky
sim:
default_tool: icarus
filesets : [rtl, tb]
parameters : [clk_freq_hz, pulses]
tools:
modelsim:
vlog_options: [-timescale=1ns/1ns]
xsim:
xelab_options: [--timescale, 1ns/1ns]
toplevel: blinky_tb
tinyfpga_bx:
default_tool : icestorm
filesets : [rtl, proginfo, tinyfpga_bx]
hooks:
post_run: [tinyprog]
parameters : [clk_freq_hz=16000000]
tools:
icestorm:
nextpnr_options : [--lp8k, --package, cm81]
pnr: next
toplevel : blinky
ulx3s_45: &ulx3s
default_tool : trellis
description : Radiona ULX3S board with 45k FPGA
filesets : [rtl, proginfo, ulx3s]
hooks:
post_run: [ujprog]
tools:
diamond: {part: LFE5U-45F-6BG381C}
trellis:
nextpnr_options : [--45k --basecfg ulx3s_empty.config --lpf ulx3s_v20.lpf]
toplevel : blinky_ulx3s
ulx3s_85:
<<: *ulx3s
description : Radiona ULX3S board with 85k FPGA
tools:
diamond: {part: LFE5U-85F-6BG381C}
trellis:
nextpnr_options : [--85k --basecfg ulx3s_empty.config --lpf ulx3s_v20.lpf]
upduino2:
default_tool : icestorm
filesets : [rtl, proginfo, upduino2]
hooks:
post_run: [iceprog]
tools:
icestorm:
nextpnr_options : [--up5k]
pnr: next
toplevel : blinky_upduino2
zrtech_v2:
default_tool : quartus
filesets : [rtl, zrtech_v2]
parameters : [clk_freq_hz=50000000]
tools:
quartus:
family : Cyclone IV E
device : EP4CE6E22C8
toplevel: blinky
parameters:
clk_freq_hz:
datatype : int
description : Clock frequency in Hz
paramtype : vlogparam
pulses:
datatype : int
description : Number of pulses to run in testbench
paramtype : vlogparam
scripts:
iceprog:
cmd : [python, proginfo.py, iceprog]
tinyprog:
cmd : [python, proginfo.py, tinyprog]
ujprog:
cmd : [python, proginfo.py, ujprog]