diff options
| author | Richard Lin | 2017-08-17 17:24:02 -0700 |
|---|---|---|
| committer | Jack Koenig | 2017-08-17 17:24:02 -0700 |
| commit | 6e12ed9fd7a771eb30f44b8e1c4ab33f6ad8e0a6 (patch) | |
| tree | 0ff452193d515adc32ecccacb2b58daa9a1d95cb /src/test/scala/chiselTests/BetterNamingTests.scala | |
| parent | 802cfc4405c28ae212a955a92c7a6ad2d2b6f0c2 (diff) | |
More of the bindings refactor (#635)
Rest of the binding refactor
Diffstat (limited to 'src/test/scala/chiselTests/BetterNamingTests.scala')
| -rw-r--r-- | src/test/scala/chiselTests/BetterNamingTests.scala | 10 |
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) { |
