aboutsummaryrefslogtreecommitdiff
path: root/test/passes/expand-whens/reg-dwoc.fir
diff options
context:
space:
mode:
Diffstat (limited to 'test/passes/expand-whens/reg-dwoc.fir')
-rw-r--r--test/passes/expand-whens/reg-dwoc.fir4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/passes/expand-whens/reg-dwoc.fir b/test/passes/expand-whens/reg-dwoc.fir
index 521e1710..ab6f4915 100644
--- a/test/passes/expand-whens/reg-dwoc.fir
+++ b/test/passes/expand-whens/reg-dwoc.fir
@@ -1,9 +1,11 @@
; 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)
- reg r : UInt
+ reg r : UInt,clk,reset
when p :
on-reset r := UInt(10)
r := UInt(20)