aboutsummaryrefslogtreecommitdiff
path: root/test/errors/width/SmallWidth.fir
blob: 0885ba52cf2ebe378e2c69d6bf0d9c24dbd58f34 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
; RUN: firrtl -i %s -o %s.v -X verilog -p ciwT 2>&1 | tee %s.out | FileCheck %s
; CHECK: Width too small for UIntValue.

circuit Top : 
  module Top : 
    output z : UInt

    z <= add(UInt<4>("h121"),UInt<3>("h13333"))