aboutsummaryrefslogtreecommitdiff
path: root/test/parser/ints.fir
blob: 0c79276b007319f7e3b7e9f34c45bcb413bacaa7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
; RUN: firrtl -i %s -o %s.out -X firrtl 2>&1 | tee %s.out | FileCheck %s
: XFAIL: *

circuit top :
   module top :
      output a : UInt
      output b : SInt
      output c : SInt
      a <= UInt(8)
      b <= SInt(8)
      c <= SInt(-8)

; CHECK: circuit top :
; CHECK:   module top :
; CHECK:      output a : UInt
; CHECK:      output b : SInt
; CHECK:      output c : SInt
; CHECK:      a <= UInt<4>("h8")
; CHECK:      b <= SInt<5>("h08")
; CHECK:      c <= SInt<4>("h8")