aboutsummaryrefslogtreecommitdiff
path: root/test/passes/expand-connect-indexed/init-vecs.fir
blob: 7d64a11742ae8ff91fb7cbf7f850e9dee0a4234f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
; RUN: firrtl -i %s -o %s.v -X verilog -p c 2>&1 | tee %s.out | FileCheck %s
; XFAIL: *

; CHECK: Expand Indexed Connects
circuit top :
   module top :
      wire outs : UInt<32>[2][1]
      outs[0][0] := UInt(1)
      outs[0][1] := UInt(1)

      write accessor out = outs[UInt(0)]
      out[0] := UInt(1)

; CHECK: Done!