blob: 149215c3a48be7aee78162dc682dacd4ac898f2c (
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
; CHECK: Inline Indexers
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!
|