aboutsummaryrefslogtreecommitdiff
path: root/test/passes/expand-whens/one-when.fir
diff options
context:
space:
mode:
Diffstat (limited to 'test/passes/expand-whens/one-when.fir')
-rw-r--r--test/passes/expand-whens/one-when.fir14
1 files changed, 7 insertions, 7 deletions
diff --git a/test/passes/expand-whens/one-when.fir b/test/passes/expand-whens/one-when.fir
index 45ae938b..de513641 100644
--- a/test/passes/expand-whens/one-when.fir
+++ b/test/passes/expand-whens/one-when.fir
@@ -3,15 +3,15 @@
; CHECK: Expand Whens
circuit top :
module top :
- mem m : UInt(1)[2]
- wire i : UInt(1)
- wire p : UInt(1)
- wire j : UInt(1)
- reg r : UInt(1)
+ mem m : UInt<1>[2]
+ wire i : UInt<1>
+ wire p : UInt<1>
+ wire j : UInt<1>
+ reg r : UInt<1>
p := j
when p :
- r.init := i
+ on-reset r := i
accessor a = m[i]
i := a
accessor b = m[i]
@@ -26,7 +26,7 @@ circuit top :
p := i
when e :
p := p
- r.init := p
+ on-reset r := p
r := p