diff options
| author | Jim Lawson | 2016-10-24 10:54:14 -0700 |
|---|---|---|
| committer | GitHub | 2016-10-24 10:54:14 -0700 |
| commit | ae62ebe5e826c55eacaeaa83a4e6db975ab5d8a1 (patch) | |
| tree | 1393bbb14303af86aeb5e5ed0375f302864b8307 /src/test/scala/chiselTests/Vec.scala | |
| parent | 5df30b390ae5817c4793c6d4e0c5466d96d241f1 (diff) | |
| parent | b0b5fd3140186651eb558bd6f4ca51c618deacc9 (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.scala | 6 |
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() } |
