aboutsummaryrefslogtreecommitdiff
path: root/test/passes/infer-widths/gcd.fir
diff options
context:
space:
mode:
Diffstat (limited to 'test/passes/infer-widths/gcd.fir')
-rw-r--r--test/passes/infer-widths/gcd.fir6
1 files changed, 2 insertions, 4 deletions
diff --git a/test/passes/infer-widths/gcd.fir b/test/passes/infer-widths/gcd.fir
index 4de2a539..7745a933 100644
--- a/test/passes/infer-widths/gcd.fir
+++ b/test/passes/infer-widths/gcd.fir
@@ -14,10 +14,8 @@ circuit top :
input clk : Clock
input reset : UInt<1>
output z : UInt<16>
- reg x : UInt,clk,reset
- reg y : UInt,clk,reset
- onreset x <= UInt(0)
- onreset y <= UInt(42)
+ reg x : UInt,clk,reset,UInt(0)
+ reg y : UInt,clk,reset,UInt(42)
when gt(x, y) :
inst s of subtracter
s.x <= x