aboutsummaryrefslogtreecommitdiff
path: root/test/passes/resolve-genders/subbundle.fir
blob: e91fa52e492679dea4356106adc535118ab366e6 (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 cT 2>&1 | tee %s.out | FileCheck %s

;CHECK: Lower Types
circuit top :
   module top :
      input clk : Clock
      input reset : UInt<1>
      wire w : { flip x : UInt<10>}
      reg r : { flip x : UInt<10>},clk with :
         reset => (reset,w)
      w <= r     ; CHECK r_x := w_x
      w.x <= r.x ; CHECK w_x := r_x
; CHECK: Finished Lower Types