aboutsummaryrefslogtreecommitdiff
path: root/test/passes/expand-accessors/accessor-vec.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/expand-accessors/accessor-vec.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/expand-accessors/accessor-vec.fir')
-rw-r--r--test/passes/expand-accessors/accessor-vec.fir53
1 files changed, 0 insertions, 53 deletions
diff --git a/test/passes/expand-accessors/accessor-vec.fir b/test/passes/expand-accessors/accessor-vec.fir
deleted file mode 100644
index 8b4b7eb8..00000000
--- a/test/passes/expand-accessors/accessor-vec.fir
+++ /dev/null
@@ -1,53 +0,0 @@
-; RUN: firrtl -i %s -o %s.v -X verilog -p c 2>&1 | tee %s.out | FileCheck %s
-
-circuit top :
- module top :
- wire m : UInt<32>[2][2][2]
- wire a : UInt<32>[2][2]
- wire b : UInt<32>[2]
- wire c : UInt<32>
- wire i : UInt
- wire j : UInt
- m[0][0][0] <= UInt(1)
- m[1][0][0] <= UInt(1)
- m[0][1][0] <= UInt(1)
- m[1][1][0] <= UInt(1)
- m[0][0][1] <= UInt(1)
- m[1][0][1] <= UInt(1)
- m[0][1][1] <= UInt(1)
- m[1][1][1] <= UInt(1)
- i <= UInt(1)
- a <= m[i]
- b <= a[i]
- c <= b[i]
- j <= c
-
- wire x : UInt<32>[2][2]
- wire y : UInt<32>[2]
- wire z : UInt<32>
- x[0][0] <= UInt(1)
- x[1][0] <= UInt(1)
- x[0][1] <= UInt(1)
- x[1][1] <= UInt(1)
- y[0] <= UInt(1)
- y[1] <= UInt(1)
- m[i] <= x
- x[i] <= y
- y[i] <= z
- z <= j
-
- wire p : {n : UInt<32>[2]}
- p.n[0] <= UInt(1)
- p.n[1] <= UInt(1)
- wire q : UInt<32>
- p.n[i] <= q
- q <= j
-
- wire r : {m : UInt<32>}[2]
- r[0].m <= UInt(1)
- r[1].m <= UInt(1)
- wire s : { m : UInt<32>}
- s <= r[i]
- j <= s.m
-
-; CHECK: Done!