blob: cd5b2dfed8776949f91f5ca2ca35e8984f1ccb05 (
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 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
|