From d6468e562b184c38ce67530c513ee9c4af93ae9c Mon Sep 17 00:00:00 2001 From: azidar Date: Wed, 27 Jan 2016 15:21:36 -0800 Subject: Added tests for previous commit --- test/passes/split-exp/split-and.fir | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 test/passes/split-exp/split-and.fir (limited to 'test/passes/split-exp') diff --git a/test/passes/split-exp/split-and.fir b/test/passes/split-exp/split-and.fir new file mode 100644 index 00000000..8eb4bdab --- /dev/null +++ b/test/passes/split-exp/split-and.fir @@ -0,0 +1,8 @@ +; RUN: firrtl -i %s -o %s.v -X verilog -p cT 2>&1 | tee %s.out | FileCheck %s + +; CHECK: Done! +circuit Top : + module Top : + input a : SInt<2> + output c : UInt<2> + c <= and(a,asSInt(UInt(2))) -- cgit v1.2.3