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.fir8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/passes/expand-whens/wacc-wdc.fir b/test/passes/expand-whens/wacc-wdc.fir
index 77c5b194..25fcff17 100644
--- a/test/passes/expand-whens/wacc-wdc.fir
+++ b/test/passes/expand-whens/wacc-wdc.fir
@@ -4,10 +4,10 @@ circuit top :
input clk : Clock
wire p : UInt
cmem m : UInt<4>[10], clk
- p := UInt(1)
+ p <= UInt(1)
when p :
write accessor a = m[UInt(3)]
- a := UInt(2)
+ a <= UInt(2)
; CHECK: Expand Whens
@@ -16,8 +16,8 @@ circuit top :
; CHECK: wire p : UInt
; CHECK: cmem m : UInt<4>[10], clk
; CHECK: write accessor a = m[UInt("h3")]
-; CHECK: p := UInt("h1")
-; CHECK: when p : a := UInt("h2")
+; CHECK: p <= UInt("h1")
+; CHECK: when p : a <= UInt("h2")
; CHECK: Finished Expand Whens