aboutsummaryrefslogtreecommitdiff
path: root/test/passes/const-prop/bits.fir
blob: 74aa19de46179749f667b6e0eda402c613279e5f (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<3>("h7")
;CHECK: Finished Constant Propagation

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