aboutsummaryrefslogtreecommitdiff
path: root/test/errors/high-form/Top.fir
diff options
context:
space:
mode:
authorjackbackrack2015-05-02 23:56:46 -0700
committerjackbackrack2015-05-02 23:56:46 -0700
commit1b57cff7dfc245dd0a0f7a1a591db6dc04e245e0 (patch)
treeb9be5d3c14ef853ed9104c31392973917ea4f2e8 /test/errors/high-form/Top.fir
parent07dd1e577a5f605388bc18c37802c8c9a00801a6 (diff)
parent2006604530fb8fd214fe4e8e182bedacd71b49b3 (diff)
merge
Diffstat (limited to 'test/errors/high-form/Top.fir')
-rw-r--r--test/errors/high-form/Top.fir9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/errors/high-form/Top.fir b/test/errors/high-form/Top.fir
new file mode 100644
index 00000000..1d663c9c
--- /dev/null
+++ b/test/errors/high-form/Top.fir
@@ -0,0 +1,9 @@
+
+; RUN: firrtl -i %s -o %s.flo -x X -p c | 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>