aboutsummaryrefslogtreecommitdiff
path: root/test/features/Link.fir
diff options
context:
space:
mode:
authorazidar2015-07-30 16:00:40 -0700
committerazidar2015-07-30 16:00:40 -0700
commit4264d0c18948905ef0d924002ca828b19a69e69b (patch)
treef9a338aecda2d0717c1acced66b5aa0816171694 /test/features/Link.fir
parenta2f3ac70d45b6a419178e2d28a2b7be801599d13 (diff)
Updated error and feature tests. Fixed bug in detecting incorrect genders
Diffstat (limited to 'test/features/Link.fir')
-rw-r--r--test/features/Link.fir14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/features/Link.fir b/test/features/Link.fir
new file mode 100644
index 00000000..190341f2
--- /dev/null
+++ b/test/features/Link.fir
@@ -0,0 +1,14 @@
+; RUN: firrtl -i %s -m /Users/cusgadmin/code/stanza/firrtl/test/features/Queue.fir -o %s.v -X verilog -p c | tee %s.out | FileCheck %s
+;CHECK: Lower To Ground
+circuit Top :
+ module Top :
+ input clk : Clock
+ input reset : UInt<1>
+ output out : UInt<10>
+
+ inst q of Queue
+ q.clk := clk
+ q.reset := reset
+ q.in := UInt(1)
+ out := q.out
+