aboutsummaryrefslogtreecommitdiff
path: root/test/features/InitAccessor.fir
blob: 983cbd943a5316da23f536ca116a47295f148d1b (plain)
1
2
3
4
5
6
7
8
9
10
; RUN: firrtl -i %s -o %s.flo -X flo -p c 2>&1 | tee %s.out | FileCheck %s
;CHECK: Done!
circuit Top : 
   module Top :
      input in : UInt<1>
      wire b : UInt<1>[3]
      node c = UInt(1)
      infer accessor a = b[c]
      when in : 
         a := UInt(1)