diff options
| author | azidar | 2015-02-24 09:40:02 -0800 |
|---|---|---|
| committer | azidar | 2015-02-24 09:40:02 -0800 |
| commit | 2353d640907a7b04477b06a5b3da6b7bbafc448d (patch) | |
| tree | 74d7d731eade1fba4763aa36bf4a9245c41df5d7 /test/passes/make-explicit-reset/mix-reset.fir | |
| parent | 641af82f49d46ef8d4bb60129fd93dfe7d23e94c (diff) | |
Updated tests, and included a check for the name of the pass, which
allows the compiler to print after each pass to ease debugging
Diffstat (limited to 'test/passes/make-explicit-reset/mix-reset.fir')
| -rw-r--r-- | test/passes/make-explicit-reset/mix-reset.fir | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/test/passes/make-explicit-reset/mix-reset.fir b/test/passes/make-explicit-reset/mix-reset.fir new file mode 100644 index 00000000..23a1232a --- /dev/null +++ b/test/passes/make-explicit-reset/mix-reset.fir @@ -0,0 +1,28 @@ +; RUN: firrtl %s abc | tee %s.out | FileCheck %s + +; CHECK: Make Explicit Reset +circuit top : + module A : + ;CHECK: input reset : UInt(1) + input x : UInt(16) + output y : UInt(16) + inst b of B + ;CHECK: inst:b.reset := port:reset + module B : + input reset : UInt(1) + ;CHECK: input reset : UInt(1) + input x : UInt(16) + output y : UInt(16) + inst c of C + ;CHECK: inst:c.reset := port:reset + module C : + ;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) + output z : UInt + inst a of A + ;CHECK: inst:a.reset := port:reset |
