From 2702e571040e7a07317b79f9c5cfdbd61b9ab2bf Mon Sep 17 00:00:00 2001 From: azidar Date: Fri, 15 May 2015 16:34:34 -0700 Subject: Updated firrtl for its passes to be a bit more modular, and to enable plugging in other backends. Also updated a lot of tests, but not all of them because its annoying. --- test/passes/inline/gcd.fir | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/passes/inline') diff --git a/test/passes/inline/gcd.fir b/test/passes/inline/gcd.fir index 68577431..418f784b 100644 --- a/test/passes/inline/gcd.fir +++ b/test/passes/inline/gcd.fir @@ -1,4 +1,4 @@ -; RUN: firrtl -i %s -o %s.flo -x abcdefghijklm -p c | tee %s.out | FileCheck %s +; RUN: firrtl -i %s -o %s.flo -X flo -p c | tee %s.out | FileCheck %s ;CHECK: Inline Instances circuit top : -- cgit v1.2.3 From 3336e6beb23e1ba883097eac0c0000269bf8ebfa Mon Sep 17 00:00:00 2001 From: azidar Date: Mon, 18 May 2015 16:04:58 -0700 Subject: Big API Change. Pad is no longer supported. Widths of primops can be flexible, and the output is usually the max of the inputs. Removed all u/s variants, which need to be dealt with in backends where it matters --- test/passes/inline/gcd.fir | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test/passes/inline') diff --git a/test/passes/inline/gcd.fir b/test/passes/inline/gcd.fir index 418f784b..2c76bc82 100644 --- a/test/passes/inline/gcd.fir +++ b/test/passes/inline/gcd.fir @@ -6,7 +6,7 @@ circuit top : input x : UInt input y : UInt output q : UInt - q := sub-wrap-uu(x, y) + q := sub-wrap(x, y) module gcd : input a : UInt<16> input b : UInt<16> @@ -17,7 +17,7 @@ circuit top : reg y : UInt on-reset x := UInt(0) on-reset y := UInt(42) - when gt-uu(x, y) : + when gt(x, y) : inst s of subtracter s.x := x s.y := y @@ -30,7 +30,7 @@ circuit top : when e : x := a y := b - v := eq-uu(v, UInt(0)) + v := eq(v, UInt(0)) z := x module top : input a : UInt<16> -- cgit v1.2.3