aboutsummaryrefslogtreecommitdiff
path: root/test/passes/jacktest/VendingMachine.fir
diff options
context:
space:
mode:
Diffstat (limited to 'test/passes/jacktest/VendingMachine.fir')
-rw-r--r--test/passes/jacktest/VendingMachine.fir3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/passes/jacktest/VendingMachine.fir b/test/passes/jacktest/VendingMachine.fir
index 79cebbe1..d7822a17 100644
--- a/test/passes/jacktest/VendingMachine.fir
+++ b/test/passes/jacktest/VendingMachine.fir
@@ -8,7 +8,8 @@ circuit VendingMachine :
input clk : Clock
input reset : UInt<1>
- reg state : UInt<3>,clk,reset,UInt<3>(0)
+ reg state : UInt<3>,clk with :
+ reset => (reset,UInt<3>(0))
node T_22 = eq(state, UInt<3>(0))
when T_22 :
when nickel : state <= UInt<3>(1)