aboutsummaryrefslogtreecommitdiff
path: root/test/passes/infer-widths/simple.fir
diff options
context:
space:
mode:
Diffstat (limited to 'test/passes/infer-widths/simple.fir')
-rw-r--r--test/passes/infer-widths/simple.fir4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/passes/infer-widths/simple.fir b/test/passes/infer-widths/simple.fir
index 590515e7..6a50ae77 100644
--- a/test/passes/infer-widths/simple.fir
+++ b/test/passes/infer-widths/simple.fir
@@ -4,12 +4,16 @@
circuit top :
module top :
wire e : UInt<30>
+ e := UInt(1)
reg y : UInt
y := e
wire a : UInt<20>
+ a := UInt(1)
wire b : UInt<10>
+ b := UInt(1)
wire c : UInt
+ c := UInt(1)
wire z : UInt
z := mux(c,a,b)