-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathlushay.schema.json
270 lines (270 loc) · 7.25 KB
/
lushay.schema.json
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
260
261
262
263
264
265
266
267
268
269
270
{
"$schema": "https://json-schema.org/draft/2019-09/schema",
"type": "object",
"properties": {
"name": {
"type": "string",
"title": "Project Name",
"description": "Used as name for output files"
},
"includedFiles": {
"oneOf": [
{
"enum": [ "all" ]
},
{
"type": "array",
"items": [
{
"type": "string"
}
]
}
],
"title": "List of files to synthesize",
"description": "List of files to synthesize, if set to \"all\" then all non tb verilog files will be used"
},
"externalFlashFiles": {
"type": "array",
"items": [
{
"type": "string"
}
],
"title": "List of files that can be flashed to external memory",
"description": "List of files that can be flashed to external memory"
},
"top": {
"type": "string",
"description": "The name of the top module",
"title": "Top Module's Name"
},
"constraintsFile": {
"type": "string",
"description": "The constraints file to use for pnr",
"title": "Constraints File Path"
},
"testBenches": {
"oneOf": [
{
"enum": [ "all" ]
},
{
"type": "array",
"items": [
{
"type": "string"
}
]
}
],
"title": "A list if testbench files",
"description": "A list if testbench files Defaults to all _tb.v files"
},
"programMode": {
"enum": [
"ram",
"flash"
],
"description": "Whether programming should be to flash or ram",
"title": "Programming Mode"
},
"baudRate": {
"type": "number",
"title": "Serial Baud Rate",
"description": "The baud rate to use in the serial terminal"
},
"nextPnrGowinOptions": {
"type": "array",
"items": {
"anyOf": [
{
"type": "string",
"enum": [
"-v",
"--verbose",
"-q",
"--quiet",
"--log",
"-l",
"--debug",
"--debug-placer",
"--debug-router",
"--threads",
"--force",
"-f",
"--pre-pack",
"--pre-place",
"--pre-route",
"--post-route",
"--on-failure",
"--seed",
"--randomize-seed",
"-r",
"--placer",
"--router",
"--slack_redist_iter",
"--cstrweight",
"--starttemp",
"--placer-budgets",
"--ignore-loops",
"--test",
"--timing-allow-fail",
"--no-tmdriv",
"--sdf",
"--sdf-cvc",
"--no-print-critical-path-source",
"--placer-heap-alpha",
"--placer-heap-beta",
"--placer-heap-critexp",
"--placer-heap-timingweight",
"--parallel-refine",
"--router2-heatmap",
"--tmg-ripup",
"--router2-tmg-ripup",
"--report",
"--detailed-timing-report",
"--placed-svg",
"--routed-svg",
"--enable-globals",
"--enable-auto-longwires"
]
},
{
"type": "string"
}
]
},
"title": "Additional nextpnr-gowin flags",
"description": "Extra flags which will be passed to nextpnr-gowin"
},
"nextPnrEcp5Options": {
"type": "array",
"items": {
"type": "string"
},
"title": "Additional nextpnr-ecp5 flags",
"description": "Extra flags which will be passed to nextpnr-ecp5"
},
"nextPnrIce40Options": {
"type": "array",
"items": {
"type": "string"
},
"title": "Additional nextpnr-ice40 flags",
"description": "Extra flags which will be passed to nextpnr-ice40"
},
"synthGowinOptions": {
"type": "array",
"uniqueItems": true,
"items": {
"type": "string",
"enum": [
"-nodffe",
"-nobram",
"-nolutram",
"-noflatten",
"-retime",
"-nowidelut",
"-noiopads",
"-noalu",
"-abc9",
"-no-rw-check"
]
},
"title": "Additional synth_gowin flags",
"description": "Extra flags which will be passed to synth_gowin as part of yosys"
},
"synthEcp5Options": {
"type": "array",
"items": {
"anyOf": [
{
"type": "string",
"enum": [
"-blif",
"-edif",
"-run",
"-noflatten",
"-dff",
"-retime",
"-noccu2",
"-nodffe",
"-nobram",
"-nolutram",
"-nowidelut",
"-asyncprld",
"-abc2",
"-abc9",
"-vpr",
"-nodsp",
"-no-rw-check"
]
},
{
"type": "string"
}
]
},
"title": "Additional synth_ecp5 flags",
"description": "Extra flags which will be passed to synth_ecp5 as part of yosys"
},
"synthIce40Options": {
"type": "array",
"items": {
"anyOf": [
{
"type": "string",
"enum": [
"-device",
"-blif",
"-edif",
"-run",
"-noflatten",
"-dff",
"-retime",
"-nocarry",
"-nodffe",
"-dffe_min_ce_use",
"-nobram",
"-spram",
"-dsp",
"-noabc",
"-abc2",
"-abc9",
"-vpr",
"-flowmap",
"-no-rw-check"
]
},
{
"type": "string"
}
]
},
"title": "Additional synth_ice40 flags",
"description": "Extra flags which will be passed to synth_ice40 as part of yosys"
},
"board": {
"enum": [
"tangnano20k",
"tangnano9k",
"tangnano4k",
"tangnano1k",
"tangnano",
"icebreaker",
"icestick",
"orangeCrab",
"upduino31"
],
"description": "The FPGA development board",
"title": "Dev Board"
},
"skipCstChecking": {
"type": "boolean",
"title": "Skip CST Checking",
"description": "Skip the prestage of making sure all ports are defined in CST"
}
},
"title": "Lushay Project File"
}