forked from mshr-h/vscode-verilog-hdl-support
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
319 lines (319 loc) · 9.15 KB
/
package.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
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
{
"name": "veriloghdl",
"displayName": "Verilog-HDL/SystemVerilog/Bluespec SystemVerilog",
"description": "Verilog-HDL/SystemVerilog/Bluespec SystemVerilog support for VS Code",
"version": "1.5.9",
"publisher": "mshr-h",
"homepage": "https://github.com/mshr-h/vscode-verilog-hdl-support",
"repository": {
"type": "git",
"url": "https://github.com/mshr-h/vscode-verilog-hdl-support.git"
},
"bugs": {
"url": "https://github.com/mshr-h/vscode-verilog-hdl-support/issues"
},
"engines": {
"vscode": "^1.60.0"
},
"categories": [
"Programming Languages",
"Snippets",
"Linters"
],
"icon": "images/icon.png",
"activationEvents": [
"onLanguage:verilog",
"onLanguage:systemverilog",
"onLanguage:bsv",
"onLanguage:ucf",
"onLanguage:sdc",
"onLanguage:xdc"
],
"main": "./out/src/extension",
"contributes": {
"languages": [
{
"id": "verilog",
"aliases": [
"Verilog",
"verilog"
],
"extensions": [
".v",
".vh",
".vl"
],
"configuration": "./verilog.configuration.json"
},
{
"id": "systemverilog",
"aliases": [
"System Verilog",
"systemverilog"
],
"extensions": [
".sv",
".svh",
".SV"
],
"configuration": "./systemverilog.configuration.json"
},
{
"id": "bsv",
"aliases": [
"BluespecSystemVerilog",
"Bluespec SystemVerilog",
"BSV"
],
"extensions": [
".bsv",
".BSV"
],
"configuration": "./BSV.configuration.json"
},
{
"id": "ucf",
"aliases": [
"vivado ucf",
"ucf constraints"
],
"extensions": [
".ucf"
],
"configuration": "./ucfconstraints.configuration.json"
},
{
"id": "sdc",
"aliases": [
"Synopsys Design Constraints"
],
"extensions": [
".sdc"
],
"configuration": "./sdc.configuration.json"
},
{
"id": "xdc",
"aliases": [
"Xilinx Design Constraints"
],
"extensions": [
".xdc"
],
"configuration": "./sdc.configuration.json"
}
],
"grammars": [
{
"language": "verilog",
"scopeName": "source.verilog",
"path": "./syntaxes/verilog.tmLanguage"
},
{
"language": "systemverilog",
"scopeName": "source.systemverilog",
"path": "./syntaxes/systemverilog.tmLanguage"
},
{
"language": "bsv",
"scopeName": "source.bsv",
"path": "./syntaxes/BSV.tmLanguage"
},
{
"language": "ucf",
"scopeName": "source.ucfconstraints",
"path": "./syntaxes/ucf.tmLanguage"
},
{
"language": "sdc",
"scopeName": "source.sdc",
"path": "./syntaxes/sdc.tmLanguage.json"
},
{
"language": "xdc",
"scopeName": "source.sdc",
"path": "./syntaxes/sdc.tmLanguage.json"
},
{
"scopeName": "markdown.verilog.codeblock",
"path": "./syntaxes/codeblock.json",
"injectTo": [
"text.html.markdown"
],
"embeddedLanguages": {
"meta.embedded.block.verilog": "source.verilog",
"meta.embedded.block.systemverilog": "source.systemverilog"
}
}
],
"snippets": [
{
"language": "verilog",
"path": "./snippets/verilog.json"
},
{
"language": "systemverilog",
"path": "./snippets/verilog.json"
},
{
"language": "systemverilog",
"path": "./snippets/systemverilog.json"
},
{
"language": "bsv",
"path": "./snippets/bsv.json"
}
],
"configuration": {
"title": "Verilog configuration",
"properties": {
"verilog.linting.path": {
"scope": "window",
"type": "string",
"default": "",
"description": "A path to the installation of linter."
},
"verilog.linting.linter": {
"scope": "window",
"type": "string",
"enum": [
"xvlog",
"iverilog",
"verilator",
"modelsim",
"none"
],
"default": "none",
"description": "Select the verilog linter. Possible values are 'iverilog', 'verilator', xvlog' or 'none'."
},
"verilog.linting.xvlog.arguments": {
"scope": "window",
"type": "string",
"default": "",
"description": "Add xvlog arguments here. They will be added to xvlog while linting."
},
"verilog.linting.iverilog.arguments": {
"scope": "window",
"type": "string",
"default": "",
"description": "Add Icarus Verilog arguments here (like macros). They will be added to Icarus Verilog while linting (The command \"-t null\" will be added by the linter by default)."
},
"verilog.linting.iverilog.runAtFileLocation": {
"scope": "window",
"type": "boolean",
"default": false,
"description": "If enabled, Icarus Verilog will be run at the file location for linting. Else it will be run at workspace folder. Disabled by default."
},
"verilog.linting.modelsim.runAtFileLocation": {
"scope": "window",
"type": "boolean",
"default": false,
"description": "If enabled, Modelsim will be run at the file location for linting. Else it will be run at workspace folder. Disabled by default."
},
"verilog.linting.modelsim.arguments": {
"scope": "window",
"type": "string",
"default": "",
"description": "Add Modelsim arguments here. They will be added to Modelsim while linting."
},
"verilog.linting.modelsim.work": {
"scope": "window",
"type": "string",
"default": "",
"description": "Add Modelsim work library here."
},
"verilog.linting.verilator.arguments": {
"scope": "window",
"type": "string",
"default": "",
"description": "Add Verilator arguments here (like macros). They will be added to Verilator while linting (The command \"--lint-only -I<document folder>\" will be added by the linter by default)."
},
"verilog.linting.verilator.runAtFileLocation": {
"scope": "window",
"type": "boolean",
"default": false,
"description": "If enabled, Verilator will be run at the file location for linting. Else it will be run at workspace folder. Disabled by default."
},
"verilog.linting.verilator.useWSL": {
"scope": "window",
"type": "boolean",
"default": false,
"description": "If enabled, run verilator in WSL."
},
"verilog.ctags.path": {
"scope": "window",
"type": "string",
"default": "none",
"description": "A path to the installation of Universal Ctags."
},
"verilog.languageServer.name": {
"scope": "window",
"type": "string",
"enum": ["svls"],
"default": "svls",
"description": "Select the Language Server. Currently supports `svls`."
},
"verilog.languageServer.path": {
"scope": "window",
"type": "string",
"default": "svls",
"description": "A path to the Language Server binary."
},
"verilog.languageServer.enabled": {
"scope": "window",
"type": "boolean",
"default": false,
"description": "Enable Language Server."
},
"verilog.logging.enabled": {
"scope": "window",
"type": "boolean",
"default": false,
"description": "Enable logging for this extension."
}
}
},
"commands": [
{
"command": "verilog.instantiateModule",
"title": "Verilog: Instantiate Module"
},
{
"command": "verilog.lint",
"title": "Verilog: Rerun lint tool"
}
]
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -w -p ./",
"update-vscode": "vscode-install",
"makeBsv": "antlr4ts -visitor syntaxes/bsv.g4 -o src/bsvjs"
},
"dependencies": {
"antlr4": "^4.10.1",
"antlr4ts": "^0.5.0-alpha.4",
"vsce": "^2.14.0",
"vscode-languageclient": "^8.0.1"
},
"devDependencies": {
"@types/antlr4": "4.11.1",
"@types/mocha": "10.0.0",
"@types/node": "18.11.9",
"@types/vscode": "^1.60.0",
"antlr4ts-cli": "0.5.0-alpha.4",
"eslint": "8.27.0",
"eslint-config-standard": "17.0.0",
"eslint-plugin-import": "2.26.0",
"eslint-plugin-node": "11.1.0",
"eslint-plugin-promise": "6.1.1",
"typescript": "4.8.4",
"vscode-test": "1.6.1"
},
"__metadata": {
"id": "feb7e3b5-7d35-4f95-a3d2-61eeaa12efa5",
"publisherDisplayName": "mshr-h",
"publisherId": "fcf32c99-a624-437b-9f47-9333ea128623"
}
}