diff options
| author | azidar | 2015-04-20 12:08:10 -0700 |
|---|---|---|
| committer | azidar | 2015-04-20 12:08:10 -0700 |
| commit | 7617e33993abf9f6be357e0261755a4736c2e085 (patch) | |
| tree | a8a32a3e0d731b49173f1c6f02056aea20902ada /test/chisel3/Outer.fir | |
| parent | 130c6676418e85d5d4dd12a0f0845e912eda8c3e (diff) | |
Fixed tests to use new execution arguments. Added and fixed chisel3 bugs
Diffstat (limited to 'test/chisel3/Outer.fir')
| -rw-r--r-- | test/chisel3/Outer.fir | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/test/chisel3/Outer.fir b/test/chisel3/Outer.fir index 0b808cb5..227c5dae 100644 --- a/test/chisel3/Outer.fir +++ b/test/chisel3/Outer.fir @@ -1,17 +1,19 @@ +; RUN: firrtl -i %s -o %s.flo -x X -p c | tee %s.out | FileCheck %s +; CHECK: Done! circuit Outer : module Inner : input in : UInt(8) output out : UInt(8) - node T_15 : UInt(1) = UInt(1, 1) - node T_16 : UInt(8) = add(in, T_15) - out := T_16 + node T_14 = UInt(1, 1) + node T_15 = add(in, T_14) + out := T_15 module Outer : input in : UInt(8) output out : UInt(8) - instance T_17 of Inner - T_17.in := in - node T_18 : UInt(2) = UInt(2, 2) - node T_19 : UInt(8) = times(T_17.out, T_18) - out := T_19 + inst T_16 of Inner + T_16.in := in + node T_17 = UInt(2, 2) + node T_18 = mul(T_16.out, T_17) + out := T_18 |
