aboutsummaryrefslogtreecommitdiff
path: root/test/errors/high-form/WrongReset.fir
blob: adeadee6ebecc6c3f959d91aee5bbae16746a7ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
; RUN: firrtl -i %s -o %s.flo -X flo -p c | tee %s.out | FileCheck %s

; CHECK: Module Top has a reset that is not of type UInt<1>.
; CHECK: Module B has a reset that is not of type UInt<1>.
; CHECK: Module C has a reset that is not of type UInt<1>.

circuit Top :
  module Top :
    input reset : SInt<1>
  module B :
    input reset : UInt
  module C :
    output reset : UInt<1>