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

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