-
Notifications
You must be signed in to change notification settings - Fork 0
/
firrtl.json
56 lines (56 loc) · 1.32 KB
/
firrtl.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
{
"fileTypes": [
"fir"
],
"name": "FIRRTL",
"patterns": [
{
"match": "circuit|module|extmodule",
"name": "keyword.other.firrtl"
},
{
"match": "input|output|defname|parameter|skip|is|invalid|inst|of|wire|node",
"name": "keyword.other.firrtl"
},
{
"match": "(<=)|(<-)",
"name": "keyword.operator.firrtl"
},
{
"captures": {
"1": {
"name": "keyword.operator.firrtl"
}
},
"match": "(attach|add|sub|mul|div|rem|lt|leq|gt|geq|eq|neq|pad|asAsyncReset|asUInt|asSInt|asClock|shl|shr|dshl|dshr|cvt|neg|not|and|or|xor|andr|orr|xorr|cat|bits|head|tail|asFixedPoint|bpshl|bpshr|bpset|mux|validif|stop|printf|assert|assume|cover)\\("
},
{
"captures": {
"3": {
"name": "constant.numeric.firrtl"
}
},
"match": "([UI]Int|Analog)(<(\\d+)>)?",
"name": "storage.type.firrtl"
},
{
"match": "Clock|Reset|AsyncReset",
"name": "storage.type.firrtl"
},
{
"match": "\".+\"",
"name": "string.quoted.double.firrtl"
},
{
"match": ";.*$",
"name": "comment.line.character.firrtl"
},
{
"begin": "%\\[\\[",
"end": "\\]\\]",
"name": "comment.block.firrtl"
}
],
"repository": {},
"scopeName": "source.firrtl"
}