From 5509cdd4c8332c53151e10ba5bdbe0684af1c05b Mon Sep 17 00:00:00 2001 From: Martin Schoeberl Date: Fri, 25 Jan 2019 23:24:01 -0800 Subject: WireDefault instead of WireInit, keep WireInit around (#986) --- src/test/scala/chiselTests/AutoNestedCloneSpec.scala | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/test/scala/chiselTests/AutoNestedCloneSpec.scala') diff --git a/src/test/scala/chiselTests/AutoNestedCloneSpec.scala b/src/test/scala/chiselTests/AutoNestedCloneSpec.scala index 09cd687f..fc8eb73b 100644 --- a/src/test/scala/chiselTests/AutoNestedCloneSpec.scala +++ b/src/test/scala/chiselTests/AutoNestedCloneSpec.scala @@ -66,8 +66,8 @@ class AutoNestedCloneSpec extends ChiselFlatSpec with Matchers { elaborate { class TestModule(w: Int) extends Module { val io = IO(new BundleWithAnonymousInner(w) ) - val w0 = WireInit(io) - val w1 = WireInit(io.inner) + val w0 = WireDefault(io) + val w1 = WireDefault(io.inner) } new TestModule(8) } @@ -82,8 +82,8 @@ class AutoNestedCloneSpec extends ChiselFlatSpec with Matchers { val io = IO(new Bundle { val inner = Input(bun) }) - val w0 = WireInit(io) - val w1 = WireInit(io.inner) + val w0 = WireDefault(io) + val w1 = WireDefault(io.inner) } new TestModule(8) } -- cgit v1.2.3