aboutsummaryrefslogtreecommitdiff
path: root/test/passes/expand-whens/partial-init.fir
diff options
context:
space:
mode:
Diffstat (limited to 'test/passes/expand-whens/partial-init.fir')
-rw-r--r--test/passes/expand-whens/partial-init.fir10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/passes/expand-whens/partial-init.fir b/test/passes/expand-whens/partial-init.fir
index c9afd86c..03b1f965 100644
--- a/test/passes/expand-whens/partial-init.fir
+++ b/test/passes/expand-whens/partial-init.fir
@@ -4,6 +4,16 @@
circuit top :
module top :
reg r : UInt<1>[10]
+ r[0] := UInt(1)
+ r[1] := UInt(1)
+ r[2] := UInt(1)
+ r[3] := UInt(1)
+ r[4] := UInt(1)
+ r[5] := UInt(1)
+ r[6] := UInt(1)
+ r[7] := UInt(1)
+ r[8] := UInt(1)
+ r[9] := UInt(1)
on-reset r[3] := UInt(0)
; CHECK: Finished Expand Whens