aboutsummaryrefslogtreecommitdiff
path: root/test/passes/resolve-genders/bulk.fir
blob: 7e746a379976bb5f6bf7ac1d9888da26f8d3aac6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
; RUN: firrtl -i %s -o %s.v -X verilog -p c 2>&1 | tee %s.out | FileCheck %s

;CHECK: Resolve Genders
circuit top :
   module source :
      output bundle : { data : UInt<16>, flip ready : UInt<1> }
   module sink :
      input bundle : { data : UInt<16>, flip ready : UInt<1> }
   module top :
      inst src of source
      inst snk of sink
      snk.bundle <= src.bundle

; CHECK: Finished Resolve Genders