aboutsummaryrefslogtreecommitdiff
path: root/test/passes/jacktest/bundlewire.fir
blob: cea54ed41578851ff28c4464a41d91ac7df58f5e (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 X -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