aboutsummaryrefslogtreecommitdiff
path: root/test/passes/make-explicit-reset
diff options
context:
space:
mode:
authorazidar2015-04-23 15:27:43 -0700
committerazidar2015-04-23 15:27:43 -0700
commit3862865b8c70dd21e1a436dd79cfd165bebe5f43 (patch)
treeb8b3521d588d88218b4bf8b0d53534c6a4deca8e /test/passes/make-explicit-reset
parentaccb511cb37ce595d28bb3feefe5be79bc6ae303 (diff)
Added new parser. Fixed all Tests. Added on-reset to parser, but don't correctly handle it in compiler.
Diffstat (limited to 'test/passes/make-explicit-reset')
-rw-r--r--test/passes/make-explicit-reset/mix-reset.fir26
1 files changed, 13 insertions, 13 deletions
diff --git a/test/passes/make-explicit-reset/mix-reset.fir b/test/passes/make-explicit-reset/mix-reset.fir
index 720663c1..a255dc33 100644
--- a/test/passes/make-explicit-reset/mix-reset.fir
+++ b/test/passes/make-explicit-reset/mix-reset.fir
@@ -3,26 +3,26 @@
; CHECK: Make Explicit Reset
circuit top :
module A :
- ;CHECK: input reset : UInt(1)
- input x : UInt(16)
- output y : UInt(16)
+ ;CHECK: input reset : UInt<1>
+ input x : UInt<16>
+ output y : UInt<16>
inst b of B
;CHECK: b.reset := reset
module B :
- input reset : UInt(1)
- ;CHECK: input reset : UInt(1)
- input x : UInt(16)
- output y : UInt(16)
+ input reset : UInt<1>
+ ;CHECK: input reset : UInt<1>
+ input x : UInt<16>
+ output y : UInt<16>
inst c of C
;CHECK: c.reset := reset
module C :
- ;CHECK: input reset : UInt(1)
- input a : UInt(16)
- input b : UInt(16)
+ ;CHECK: input reset : UInt<1>
+ input a : UInt<16>
+ input b : UInt<16>
module top :
- ;CHECK: input reset : UInt(1)
- input a : UInt(16)
- input b : UInt(16)
+ ;CHECK: input reset : UInt<1>
+ input a : UInt<16>
+ input b : UInt<16>
output z : UInt
inst a of A
;CHECK: a.reset := reset