aboutsummaryrefslogtreecommitdiff
path: root/src/main/antlr4/FIRRTL.g4
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/antlr4/FIRRTL.g4')
-rw-r--r--src/main/antlr4/FIRRTL.g42
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/antlr4/FIRRTL.g4 b/src/main/antlr4/FIRRTL.g4
index ef0fd7eb..1232b65f 100644
--- a/src/main/antlr4/FIRRTL.g4
+++ b/src/main/antlr4/FIRRTL.g4
@@ -79,6 +79,7 @@ type
: 'UInt' ('<' IntLit '>')?
| 'SInt' ('<' IntLit '>')?
| 'Clock'
+ | 'Analog' ('<' IntLit '>')?
| '{' field* '}' // Bundle
| type '[' IntLit ']' // Vector
;
@@ -119,6 +120,7 @@ stmt
| 'stop(' exp exp IntLit ')' info?
| 'printf(' exp exp StringLit ( exp)* ')' info?
| 'skip' info?
+ | 'attach' exp 'to' '(' exp* ')' info?
;
memField