aboutsummaryrefslogtreecommitdiff
path: root/test/passes/jacktest/bundlewire.fir
blob: 80ac45f16445c09e395f095e58d6f21b926a96d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
; RUN: firrtl -i %s -o %s.flo -X flo -p ct | tee %s.out | FileCheck %s

; CHECK: Expand Whens

circuit TestLower : 
  module Inst :
     input data : { w : UInt , x : UInt } 
     input tag : { y : UInt, z : UInt }
  module TestLower : 
     mem m : {data : { w : UInt , x : UInt } tag : { y : UInt, z : UInt }}[8]
     wire index : UInt
     accessor r = m[index]

     inst i of Inst
     i.data := r.data

; CHECK: Finished Expand Whens