aboutsummaryrefslogtreecommitdiff
path: root/test/errors/width/NegWidth.fir
blob: e02884a8d27e59d888b40804855b5c9e2177c052 (plain)
1
2
3
4
5
6
7
8
9
; RUN: firrtl -i %s -o %s.v -X verilog -p ciwT 2>&1 | tee %s.out | FileCheck %s
; CHECK: Width cannot be negative or zero.

circuit Top : 
  module Top : 
    output y : UInt

    wire x : UInt<2>
    y <= shr(x,4)