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

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