aboutsummaryrefslogtreecommitdiff
path: root/test/passes/lower-to-ground
diff options
context:
space:
mode:
Diffstat (limited to 'test/passes/lower-to-ground')
-rw-r--r--test/passes/lower-to-ground/test.fir13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/passes/lower-to-ground/test.fir b/test/passes/lower-to-ground/test.fir
new file mode 100644
index 00000000..fb951bff
--- /dev/null
+++ b/test/passes/lower-to-ground/test.fir
@@ -0,0 +1,13 @@
+; RUN: firrtl -i %s -o %s.flo -x X -p cd | tee %s.out | FileCheck %s
+; CHECK: Done!
+
+circuit Top :
+ module Queue :
+ output out : {valid : UInt<1>, flip ready : UInt<1>}
+ module Top :
+ output this : {out : {valid : UInt<1>, flip ready : UInt<1>}}
+ inst queue of Queue
+ this.out := queue.out
+ wire w : { x : UInt, flip y : UInt}
+ wire a : UInt
+ w.y := a