aboutsummaryrefslogtreecommitdiff
path: root/test/passes/lower-to-ground/test.fir
blob: 7fcf0013b30b7616596cfdea2da6786e60e053be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
; RUN: firrtl -i %s -o %s.flo -X flo -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<5>, flip y : UInt<5>}
    wire a : UInt<5>
    w.y := a