aboutsummaryrefslogtreecommitdiff
path: root/test/passes/expand-whens/wacc-wdc.fir
diff options
context:
space:
mode:
Diffstat (limited to 'test/passes/expand-whens/wacc-wdc.fir')
-rw-r--r--test/passes/expand-whens/wacc-wdc.fir11
1 files changed, 6 insertions, 5 deletions
diff --git a/test/passes/expand-whens/wacc-wdc.fir b/test/passes/expand-whens/wacc-wdc.fir
index 653a3e88..3f88a0d0 100644
--- a/test/passes/expand-whens/wacc-wdc.fir
+++ b/test/passes/expand-whens/wacc-wdc.fir
@@ -1,4 +1,5 @@
; RUN: firrtl -i %s -o %s.flo -X flo -p c | tee %s.out | FileCheck %s
+; XFAIL: *
circuit top :
module top :
input clk : Clock
@@ -7,17 +8,17 @@ circuit top :
p := UInt(1)
when p :
write accessor a = m[UInt(3)]
- a := UInt(20)
+ a := UInt(2)
; CHECK: Expand Whens
; CHECK: circuit top :
; CHECK: module top :
; CHECK: wire p : UInt
-; CHECK: cmem m : UInt<4>[10]
-; CHECK: write accessor a : m[UInt(3)]
-; CHECK: p := UInt(1)
-; CHECK: when p : a := UInt(20)
+; CHECK: cmem m : UInt<4>[10], clk
+; CHECK: write accessor a = m[UInt("h00000003")]
+; CHECK: p := UInt("h00000001")
+; CHECK: when p : a := UInt("h00000002")
; CHECK: Finished Expand Whens