@@ -80,7 +80,7 @@ class ReifySpec extends AnyFunSpec {
8080 describe(" dataview.reify" ) {
8181
8282 it(" should reify single targets and identity for all non-view Elements" ) {
83- ChiselStage .convert (new Module {
83+ ChiselStage .elaborate (new Module {
8484 val wires = (new AllElementsBundle ).getElements.map(Wire (_))
8585
8686 // .getElements returns Data so we have to match that these are Elements.
@@ -94,7 +94,7 @@ class ReifySpec extends AnyFunSpec {
9494 }
9595
9696 it(" should reify single targets and identity for all non-view Elements even as children of an Aggregate" ) {
97- ChiselStage .convert (new Module {
97+ ChiselStage .elaborate (new Module {
9898 val bundle = IO (new AllElementsBundle )
9999
100100 // .getElements returns Data so we have to match that these are Elements.
@@ -108,7 +108,7 @@ class ReifySpec extends AnyFunSpec {
108108 }
109109
110110 it(" should reify single targets and identity for all Elements in an Aggregate identity-view" ) {
111- ChiselStage .convert (new Module {
111+ ChiselStage .elaborate (new Module {
112112 val bundle = IO (new AllElementsBundle )
113113 val view = bundle.viewAs[AllElementsBundle ]
114114
@@ -126,7 +126,7 @@ class ReifySpec extends AnyFunSpec {
126126 }
127127
128128 it(" should reify single targets and identity for all Elements in an Aggregate non-identity and non-1-1 view" ) {
129- ChiselStage .convert (new Module {
129+ ChiselStage .elaborate (new Module {
130130 val wires = (new AllElementsBundle ).getElements.map(Wire (_))
131131 val view = wires.viewAs[AllElementsBundle ]
132132
@@ -144,7 +144,7 @@ class ReifySpec extends AnyFunSpec {
144144 }
145145
146146 it(" should distinguish identity views from single-target views (even if the single target is the same type!" ) {
147- ChiselStage .convert (new Module {
147+ ChiselStage .elaborate (new Module {
148148 val vec = IO (Vec (2 , UInt (8 .W )))
149149 val view = vec.viewAs[ReversedVec [UInt ]]
150150
@@ -164,7 +164,7 @@ class ReifySpec extends AnyFunSpec {
164164 }
165165
166166 it(" should correctly reify single-target views despite complex hierarchy" ) {
167- ChiselStage .convert (new Module {
167+ ChiselStage .elaborate (new Module {
168168 val in0 = IO (Input (UInt (8 .W )))
169169 val in1 = IO (Input (new TargetBundle ))
170170 val view = (in0, in1).viewAs[ViewBundle ]
@@ -191,7 +191,7 @@ class ReifySpec extends AnyFunSpec {
191191 class MyModule extends RawModule {
192192 @ public val ios = (new AllElementsBundle ).getElements.map(IO (_))
193193 }
194- ChiselStage .convert (new RawModule {
194+ ChiselStage .elaborate (new RawModule {
195195
196196 val child = Instantiate (new MyModule )
197197
@@ -210,7 +210,7 @@ class ReifySpec extends AnyFunSpec {
210210 class MyModule extends RawModule {
211211 @ public val bundle = IO (new AllElementsBundle )
212212 }
213- ChiselStage .convert (new Module {
213+ ChiselStage .elaborate (new Module {
214214 val child = Instantiate (new MyModule )
215215
216216 // .getElements returns Data so we have to match that these are Elements.
@@ -229,7 +229,7 @@ class ReifySpec extends AnyFunSpec {
229229 @ public val bundle = IO (new AllElementsBundle )
230230 @ public val view = bundle.viewAs[AllElementsBundle ]
231231 }
232- ChiselStage .convert (new Module {
232+ ChiselStage .elaborate (new Module {
233233 val child = Instantiate (new MyModule )
234234
235235 _reifyIdentityView(child.view) should be(Some (child.bundle))
@@ -251,7 +251,7 @@ class ReifySpec extends AnyFunSpec {
251251 @ public val wires = (new AllElementsBundle ).getElements.map(Wire (_))
252252 @ public val view = wires.viewAs[AllElementsBundle ]
253253 }
254- ChiselStage .convert (new Module {
254+ ChiselStage .elaborate (new Module {
255255 val child = Instantiate (new MyModule )
256256
257257 _reifyIdentityView(child.view) should be(None )
@@ -273,7 +273,7 @@ class ReifySpec extends AnyFunSpec {
273273 @ public val vec = IO (Vec (2 , UInt (8 .W )))
274274 @ public val view = vec.viewAs[ReversedVec [UInt ]]
275275 }
276- ChiselStage .convert (new Module {
276+ ChiselStage .elaborate (new Module {
277277 val child = Instantiate (new MyModule )
278278 val vec = child.vec
279279 val view = child.view
@@ -300,7 +300,7 @@ class ReifySpec extends AnyFunSpec {
300300 @ public val in1 = IO (Input (new TargetBundle ))
301301 @ public val view = (in0, in1).viewAs[ViewBundle ]
302302 }
303- ChiselStage .convert (new Module {
303+ ChiselStage .elaborate (new Module {
304304 val child = Instantiate (new MyModule )
305305 val in0 = child.in0
306306 val in1 = child.in1
0 commit comments