From f08f8dbb3c480220f92923a7f3242fcbb644b65e Mon Sep 17 00:00:00 2001 From: Jack Koenig Date: Tue, 13 Aug 2019 12:09:27 +0530 Subject: Infer reset (#1068) * Add abstract "Reset" which can be inferred to AsyncReset or UInt<1> * Enhance async reset initial value literal check to support aggregates--- src/main/antlr4/FIRRTL.g4 | 1 + 1 file changed, 1 insertion(+) (limited to 'src/main/antlr4') diff --git a/src/main/antlr4/FIRRTL.g4 b/src/main/antlr4/FIRRTL.g4 index c49bb948..c3b4e74e 100644 --- a/src/main/antlr4/FIRRTL.g4 +++ b/src/main/antlr4/FIRRTL.g4 @@ -52,6 +52,7 @@ type | 'Fixed' ('<' intLit '>')? ('<' '<' intLit '>' '>')? | 'Clock' | 'AsyncReset' + | 'Reset' | 'Analog' ('<' intLit '>')? | '{' field* '}' // Bundle | type '[' intLit ']' // Vector -- cgit v1.2.3