aboutsummaryrefslogtreecommitdiff
path: root/test/passes/remove-accesses/bundle-vecs.fir
diff options
context:
space:
mode:
authorAdam Izraelevitz2016-08-15 10:32:41 -0700
committerGitHub2016-08-15 10:32:41 -0700
commitbebd04c4c68c320b2b72325e348c726dc33beae6 (patch)
tree69f6d4da577977cc7ff428b0545bb4735507aad0 /test/passes/remove-accesses/bundle-vecs.fir
parentcca37c46fc0848f5dbf5f95ba60755ed6d60712b (diff)
Remove stanza (#231)
* Removed stanza implementation/tests. In the future we can move the stanza tests over, but for now they should be deleted. * Added back integration .fir files * Added Makefile to give Travis hooks * Added firrtl script (was ignored before)
Diffstat (limited to 'test/passes/remove-accesses/bundle-vecs.fir')
-rw-r--r--test/passes/remove-accesses/bundle-vecs.fir44
1 files changed, 0 insertions, 44 deletions
diff --git a/test/passes/remove-accesses/bundle-vecs.fir b/test/passes/remove-accesses/bundle-vecs.fir
deleted file mode 100644
index 6370ace1..00000000
--- a/test/passes/remove-accesses/bundle-vecs.fir
+++ /dev/null
@@ -1,44 +0,0 @@
-; RUN: firrtl -i %s -o %s.v -X verilog -p c 2>&1 | tee %s.out | FileCheck %s
-
-; CHECK: Remove Accesses
-circuit top :
- module top :
- wire i : UInt
- i <= UInt(1)
- wire j : UInt
- j <= UInt(1)
-
- wire a : { x : UInt<32>, flip y : UInt<32> }[2]
- a[0].x <= UInt(1)
- a[0].y <= UInt(1)
- a[1].x <= UInt(1)
- a[1].y <= UInt(1)
-
- wire b : { x : UInt<32>, flip y : UInt<32> }
- b <= a[i]
- j <= b.x
- b.y <= UInt(1)
-
-; CHECK: wire i : UInt<1>
-; CHECK: i <= UInt<1>("h1")
-; CHECK: wire j : UInt<32>
-; CHECK: j <= UInt<1>("h1")
-; CHECK: wire a : { x : UInt<32>, flip y : UInt<32>}[2]
-; CHECK: a[0].x <= UInt<1>("h1")
-; CHECK: a[0].y <= UInt<1>("h1")
-; CHECK: a[1].x <= UInt<1>("h1")
-; CHECK: a[1].y <= UInt<1>("h1")
-; CHECK: wire b : { x : UInt<32>, flip y : UInt<32>}
-; CHECK: wire GEN_0 : UInt<32>
-; CHECK: GEN_0 <= a[0].x
-; CHECK: when eq(UInt<1>("h1"), i) : GEN_0 <= a[1].x
-; CHECK: b.x <= GEN_0
-; CHECK: wire GEN_1 : UInt<32>
-; CHECK: when eq(UInt<1>("h0"), i) : a[0].y <= GEN_1
-; CHECK: when eq(UInt<1>("h1"), i) : a[1].y <= GEN_1
-; CHECK: GEN_1 <= b.y
-; CHECK: j <= b.x
-; CHECK: b.y <= UInt<1>("h1")
-; CHECK: Finished Remove Access
-; CHECK: Done!
-