aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorazidar2015-04-10 16:56:36 -0700
committerazidar2015-04-10 16:56:36 -0700
commit75be996a7d26778aa6ed3c02db617b4f0516537c (patch)
tree4ad612a5907a9ea98deea42588f05bfe26d3878c /test
parenta604e0789a85d8b3c5d6def2f9860047f479b68a (diff)
Almost finished width inference, takes too long/infinite loop for gcd
Diffstat (limited to 'test')
-rw-r--r--test/passes/infer-widths/simple.fir5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/passes/infer-widths/simple.fir b/test/passes/infer-widths/simple.fir
index f98d98da..fcd08ac6 100644
--- a/test/passes/infer-widths/simple.fir
+++ b/test/passes/infer-widths/simple.fir
@@ -3,10 +3,9 @@
;CHECK: Infer Widths
circuit top :
module top :
- wire e : UInt
- wire x : UInt
+ wire e : UInt(30)
reg y : UInt
- y := mux-uu(e, UInt(1), equal-uu(gt-uu(x, x), UInt(0)))
+ y := e
; CHECK: Finished Infer Widths