aboutsummaryrefslogtreecommitdiff
path: root/test/errors/width/NegWidth.fir
blob: 5d5bbf433247a9229e5aede3e832ac736ea7eb4d (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)