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.fir21
1 files changed, 0 insertions, 21 deletions
diff --git a/test/passes/expand-whens/scoped-reg.fir b/test/passes/expand-whens/scoped-reg.fir
deleted file mode 100644
index edce1e1e..00000000
--- a/test/passes/expand-whens/scoped-reg.fir
+++ /dev/null
@@ -1,21 +0,0 @@
-; RUN: firrtl -i %s -o %s.v -X verilog -p c 2>&1 | tee %s.out | FileCheck %s
-circuit top :
- module top :
- input clk : Clock
- input reset : UInt<1>
- wire p : UInt
- p <= UInt(1)
- when p :
- reg r : UInt, clk, reset
- onreset r <= UInt(1)
- r <= UInt(2)
-
-; CHECK: Expand Whens
-
-; CHECK: circuit top :
-; CHECK: module top :
-; CHECK: wire p : UInt
-; CHECK: reg r : UInt, clk, reset
-; CHECK-NOT: when p : r <= mux(reset, UInt("h00000001"), UInt("h00000002"))
-
-; CHECK: Finished Expand Whens