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

circuit top :
   module top :
      wire outs : UInt<32>[2][1]
      outs[0][0] <= UInt(1)
      outs[0][1] <= UInt(1)

      wire out : UInt<32>[2]
      out <= outs[UInt(0)]
      out[0] <= UInt(1)

; CHECK: Done!