aboutsummaryrefslogtreecommitdiff
path: root/test/passes/lower-to-ground/test.fir
blob: 5f5f37fb588d1463079a60f0cef7b8a8b017336f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
; RUN: firrtl -i %s -o %s.flo -x X -p cdt | 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