aboutsummaryrefslogtreecommitdiff
path: root/test/passes/jacktest/testlower.fir
diff options
context:
space:
mode:
authorazidar2015-04-09 16:57:00 -0700
committerazidar2015-04-09 16:57:00 -0700
commita604e0789a85d8b3c5d6def2f9860047f479b68a (patch)
treeff2890d273f30155c52b610824a3ea632f2c12c6 /test/passes/jacktest/testlower.fir
parent16b9cb55c7d3e546af7eee3528079c9ac9bb530b (diff)
Added more 'fake' tests. infer-widths now collects constraints
Diffstat (limited to 'test/passes/jacktest/testlower.fir')
-rw-r--r--test/passes/jacktest/testlower.fir20
1 files changed, 20 insertions, 0 deletions
diff --git a/test/passes/jacktest/testlower.fir b/test/passes/jacktest/testlower.fir
new file mode 100644
index 00000000..0356597e
--- /dev/null
+++ b/test/passes/jacktest/testlower.fir
@@ -0,0 +1,20 @@
+; RUN: firrtl %s abcefghipj cg | tee %s.out | FileCheck %s
+
+; CHECK: Expand Whens
+
+circuit BundleWire :
+ module BundleWire :
+ input in : { y : UInt(32), x : UInt(32) }
+ output outs : { y : UInt(32), x : UInt(32) }[4]
+
+ wire coords : { y : UInt(32), x : UInt(32) }[4]
+ coords.0 := in
+ outs.0 := coords.0
+ coords.1 := in
+ outs.1 := coords.1
+ coords.2 := in
+ outs.2 := coords.2
+ coords.3 := in
+ outs.3 := coords.3
+
+; CHECK: Finished Expand Whens