From bb5f68948c6d75d1f02c614f3e0ae4ef9bc6e689 Mon Sep 17 00:00:00 2001 From: azidar Date: Tue, 9 Feb 2016 14:48:12 -0800 Subject: Added remaining check passes. Ready for open sourcing --- src/main/antlr4/FIRRTL.g4 | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/main/antlr4') diff --git a/src/main/antlr4/FIRRTL.g4 b/src/main/antlr4/FIRRTL.g4 index 59de36dd..e3e662ac 100644 --- a/src/main/antlr4/FIRRTL.g4 +++ b/src/main/antlr4/FIRRTL.g4 @@ -16,6 +16,7 @@ circuit module : 'module' id ':' '{' port* block '}' + | 'extmodule' id ':' '{' port* '}' ; port @@ -106,6 +107,7 @@ id keyword : 'circuit' | 'module' + | 'extmodule' | 'input' | 'output' | 'UInt' @@ -140,6 +142,7 @@ keyword | 'mux' | 'validif' | 'write' + | 'with' | 'read' | 'rdwr' | 'infer' -- cgit v1.2.3