aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main/antlr4/FIRRTL.g413
1 files changed, 9 insertions, 4 deletions
diff --git a/src/main/antlr4/FIRRTL.g4 b/src/main/antlr4/FIRRTL.g4
index d1aa2c44..5daf20ae 100644
--- a/src/main/antlr4/FIRRTL.g4
+++ b/src/main/antlr4/FIRRTL.g4
@@ -141,10 +141,12 @@ keyword
| 'UBits'
| 'SBits'
| 'Clock'
+ | 'flip'
| 'wire'
| 'reg'
- | 'mem'
+ | 'with'
| 'reset'
+ | 'mem'
| 'data-type'
| 'depth'
| 'read-latency'
@@ -154,6 +156,7 @@ keyword
| 'writer'
| 'readwriter'
| 'inst'
+ | 'of'
| 'node'
| 'is'
| 'invalid'
@@ -167,11 +170,13 @@ keyword
| 'undefined'
| 'mux'
| 'validif'
- | 'write'
- | 'with'
+ | 'cmem'
+ | 'smem'
+ | 'mport'
+ | 'infer'
| 'read'
+ | 'write'
| 'rdwr'
- | 'infer'
;
// Parentheses are added as part of name because semantics require no space between primop and open parentheses