aboutsummaryrefslogtreecommitdiff
path: root/test/passes/expand-whens/one-when.fir
diff options
context:
space:
mode:
authorazidar2016-01-17 14:42:04 -0800
committerazidar2016-01-17 14:42:04 -0800
commit427898760862bc4c0910f8194fed2260a29315cc (patch)
tree13f7da1f4ef4302fda94f153d29e9b5f93fd30f5 /test/passes/expand-whens/one-when.fir
parent81e47120c8586871fd96e22e0626591d3b5a7cc5 (diff)
BIT-AND, BIT-OR, and BIT-XOR now can accept SInts. Fixed tests
Diffstat (limited to 'test/passes/expand-whens/one-when.fir')
-rw-r--r--test/passes/expand-whens/one-when.fir40
1 files changed, 0 insertions, 40 deletions
diff --git a/test/passes/expand-whens/one-when.fir b/test/passes/expand-whens/one-when.fir
deleted file mode 100644
index 6eb341d7..00000000
--- a/test/passes/expand-whens/one-when.fir
+++ /dev/null
@@ -1,40 +0,0 @@
-; RUN: firrtl -i %s -o %s.v -X verilog -p c 2>&1 | tee %s.out | FileCheck %s
-; XFAIL: *
-
-; CHECK: Expand Whens
-circuit top :
- module top :
- input clk : Clock
- input reset : UInt<1>
- mem m :
- data-type => UInt<1>
- depth => 2
- read-latency => 0
- write-latency => 1
- wire i : UInt<1>
- wire p : UInt<1>
- wire j : UInt<1>
- j <= UInt(1)
- reg r : UInt<1>, clk, reset,i
-
- p <= j
- when p :
-
- infer accessor a = m[i]
- i <= a
- infer accessor b = m[i]
- b <= i
- else :
- infer accessor c = m[i]
- i <= c
- infer accessor d = m[i]
- d <= i
- infer accessor e = m[i]
- when p :
- p <= i
- when e :
- p <= p
- r <= p
-
-
-; CHECK: Finished Expand Whens