aboutsummaryrefslogtreecommitdiff
path: root/test/passes/jacktest/bundlewire.fir
blob: 18e246a91fd2128cfd7863cc32585fa9e2db1226 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
; RUN: firrtl %s abcefghipj cg | tee %s.out | FileCheck %s 

; CHECK: Expand Whens

circuit TestLower : 
  module Inst :
     input x : UInt
     output y : 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.x := r

; CHECK: Finished Expand Whens