aboutsummaryrefslogtreecommitdiff
path: root/test/errors/width/SmallWidth.fir
blob: 0ee60ec086ff78b5d1ac07aa7d89c975846bd081 (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"))