summaryrefslogtreecommitdiff
path: root/src/test/scala/chiselTests/Vec.scala
diff options
context:
space:
mode:
authorJim Lawson2016-10-24 10:54:14 -0700
committerGitHub2016-10-24 10:54:14 -0700
commitae62ebe5e826c55eacaeaa83a4e6db975ab5d8a1 (patch)
tree1393bbb14303af86aeb5e5ed0375f302864b8307 /src/test/scala/chiselTests/Vec.scala
parent5df30b390ae5817c4793c6d4e0c5466d96d241f1 (diff)
parentb0b5fd3140186651eb558bd6f4ca51c618deacc9 (diff)
Merge pull request #212 from ucb-bar/tobits-deprecation
Tobits deprecation
Diffstat (limited to 'src/test/scala/chiselTests/Vec.scala')
-rw-r--r--src/test/scala/chiselTests/Vec.scala6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/scala/chiselTests/Vec.scala b/src/test/scala/chiselTests/Vec.scala
index c5447610..0d5a2188 100644
--- a/src/test/scala/chiselTests/Vec.scala
+++ b/src/test/scala/chiselTests/Vec.scala
@@ -23,9 +23,9 @@ class TabulateTester(n: Int) extends BasicTester {
val x = Vec(Array.tabulate(n){ i => UInt(i * 2) })
val u = Vec.tabulate(n)(i => UInt(i*2))
- assert(v.toBits === x.toBits)
- assert(v.toBits === u.toBits)
- assert(x.toBits === u.toBits)
+ assert(v.asUInt() === x.asUInt())
+ assert(v.asUInt() === u.asUInt())
+ assert(x.asUInt() === u.asUInt())
stop()
}