aboutsummaryrefslogtreecommitdiff
path: root/test/errors/high-form/NegUInt.fir
blob: a92da6334c117f2e19998335c561c2ab64b10564 (plain)
1
2
3
4
5
6
7
; RUN: firrtl -i %s -o %s.flo -x X -p c | tee %s.out | FileCheck %s
; CHECK: UIntValue cannot be negative.

circuit Top :
  module Top :
    wire x : UInt<4>
    x := UInt(-2)