aboutsummaryrefslogtreecommitdiff
path: root/test/passes/infer-widths/dsh.fir
diff options
context:
space:
mode:
Diffstat (limited to 'test/passes/infer-widths/dsh.fir')
-rw-r--r--test/passes/infer-widths/dsh.fir14
1 files changed, 7 insertions, 7 deletions
diff --git a/test/passes/infer-widths/dsh.fir b/test/passes/infer-widths/dsh.fir
index 77986134..f36b8ad4 100644
--- a/test/passes/infer-widths/dsh.fir
+++ b/test/passes/infer-widths/dsh.fir
@@ -11,14 +11,14 @@ circuit top :
wire b : SInt
wire c : UInt
wire d : SInt
- x := UInt(1)
- y := UInt(1)
- z := SInt(1)
+ x <= UInt(1)
+ y <= UInt(1)
+ z <= SInt(1)
- a := dshl(x,y)
- b := dshl(z,y)
- c := dshr(x,y)
- d := dshr(z,y)
+ a <= dshl(x,y)
+ b <= dshl(z,y)
+ c <= dshr(x,y)
+ d <= dshr(z,y)
; CHECK: wire a : UInt<23>