summaryrefslogtreecommitdiff
path: root/src/test/scala/chiselTests/BetterNamingTests.scala
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/scala/chiselTests/BetterNamingTests.scala')
-rw-r--r--src/test/scala/chiselTests/BetterNamingTests.scala10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/test/scala/chiselTests/BetterNamingTests.scala b/src/test/scala/chiselTests/BetterNamingTests.scala
index a660086f..41b8eef3 100644
--- a/src/test/scala/chiselTests/BetterNamingTests.scala
+++ b/src/test/scala/chiselTests/BetterNamingTests.scala
@@ -26,12 +26,12 @@ class PerNameIndexing(count: Int) extends NamedModuleTester {
// Note this only checks Iterable[Chisel.Data] which excludes Maps
class IterableNaming extends NamedModuleTester {
val seq = Seq.tabulate(3) { i =>
- Seq.tabulate(2) { j => expectName(Wire(init = (i * j).U), s"seq_${i}_${j}") }
+ Seq.tabulate(2) { j => expectName(WireInit((i * j).U), s"seq_${i}_${j}") }
}
- val optSet = Some(Set(expectName(Wire(init = 0.U), "optSet_0"),
- expectName(Wire(init = 1.U), "optSet_1"),
- expectName(Wire(init = 2.U), "optSet_2"),
- expectName(Wire(init = 3.U), "optSet_3")))
+ val optSet = Some(Set(expectName(WireInit(0.U), "optSet_0"),
+ expectName(WireInit(1.U), "optSet_1"),
+ expectName(WireInit(2.U), "optSet_2"),
+ expectName(WireInit(3.U), "optSet_3")))
val stack = mutable.Stack[Module]()
for (i <- 0 until 4) {