aboutsummaryrefslogtreecommitdiff
path: root/test/passes/expand-whens/scoped-reg.fir
diff options
context:
space:
mode:
Diffstat (limited to 'test/passes/expand-whens/scoped-reg.fir')
-rw-r--r--test/passes/expand-whens/scoped-reg.fir12
1 files changed, 9 insertions, 3 deletions
diff --git a/test/passes/expand-whens/scoped-reg.fir b/test/passes/expand-whens/scoped-reg.fir
index b71a5d50..7f2632f4 100644
--- a/test/passes/expand-whens/scoped-reg.fir
+++ b/test/passes/expand-whens/scoped-reg.fir
@@ -1,5 +1,4 @@
; RUN: firrtl -i %s -o %s.flo -X flo -p c | tee %s.out | FileCheck %s
-; CHECK: Expand Whens
circuit top :
module top :
wire p : UInt
@@ -7,6 +6,13 @@ circuit top :
reg r : UInt
on-reset r := UInt(10)
r := UInt(20)
-; CHECK: r := Register(mux(reset, UInt(10), UInt(20)), mux(reset, UInt(1), p))
-; CHECK: Finished Expand Whens
+; CHECK: Expand Whens
+
+; CHECK: circuit top :
+; CHECK: module top :
+; CHECK: wire p : UInt
+; CHECK: reg r : UInt
+; CHECK: r := mux(reset, UInt(10), UInt(20))
+
+; CHECK: Finished Expand Whens