aboutsummaryrefslogtreecommitdiff
path: root/test/errors/high-form/Top.fir
blob: ddeb9c3bd8f247cf3d7d4a48030e8a819c40b3cb (plain)
1
2
3
4
5
6
7
8
9
; RUN: firrtl -i %s -o %s.v -X verilog -p c 2>&1 | tee %s.out | FileCheck %s

; CHECK: A single module must be named Top.

circuit Top :
  module Top1 :
    wire x : UInt<1>
  module Top2 : 
    wire x : UInt<1>