aboutsummaryrefslogtreecommitdiff
path: root/test/passes/const-prop/bits.fir
blob: 78c450a9f778cb0014f794a46c5c67e1bc083c00 (plain)
1
2
3
4
5
6
7
8
9
10
11
; RUN: firrtl -i %s -o %s.v -X verilog -p cT 2>&1 | tee %s.out | FileCheck %s

;CHECK: Constant Propagation
;CHECK: node x = UInt("h7")
;CHECK: Finished Constant Propagation

circuit top :
   module top :
      output out : UInt
      node x = bits(UInt(127),2,0)
      out <= x