From 7617e33993abf9f6be357e0261755a4736c2e085 Mon Sep 17 00:00:00 2001 From: azidar Date: Mon, 20 Apr 2015 12:08:10 -0700 Subject: Fixed tests to use new execution arguments. Added and fixed chisel3 bugs --- test/chisel3/Outer.fir | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) (limited to 'test/chisel3/Outer.fir') 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 -- cgit v1.2.3