aboutsummaryrefslogtreecommitdiff
path: root/test/passes/expand-whens/reg-wdc.fir
diff options
context:
space:
mode:
Diffstat (limited to 'test/passes/expand-whens/reg-wdc.fir')
-rw-r--r--test/passes/expand-whens/reg-wdc.fir4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/passes/expand-whens/reg-wdc.fir b/test/passes/expand-whens/reg-wdc.fir
index df6c7034..03f5ade9 100644
--- a/test/passes/expand-whens/reg-wdc.fir
+++ b/test/passes/expand-whens/reg-wdc.fir
@@ -1,10 +1,12 @@
; RUN: firrtl -i %s -o %s.flo -X flo -p c | 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
+ reg r : UInt,clk,reset
r := UInt(20)
; CHECK: Expand Whens