aboutsummaryrefslogtreecommitdiff
path: root/test/passes/infer-widths/simple.fir
blob: f98d98dadf975f26fb73a6ca9a539b22b8aa9df3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
; RUN: firrtl %s abcefghipjk cT | tee %s.out | FileCheck %s

;CHECK: Infer Widths
circuit top :
   module top :
      wire e : UInt
      wire x : UInt
      reg y : UInt
      y := mux-uu(e, UInt(1), equal-uu(gt-uu(x, x), UInt(0)))
   

; CHECK: Finished Infer Widths