summaryrefslogtreecommitdiff
path: root/src/test/scala/chiselTests/MissingCloneBindingExceptionSpec.scala
diff options
context:
space:
mode:
authorJim Lawson2017-02-08 15:23:58 -0800
committerJack Koenig2017-02-08 15:23:58 -0800
commitf902b119069732910ca4b26ab45e0d6392464b3b (patch)
treedcdeb45660b1105598fa3aa0a85dc6ce41b4437f /src/test/scala/chiselTests/MissingCloneBindingExceptionSpec.scala
parente23d24edbc35b68bf1002d169386e4c2007cf185 (diff)
Fix up deprecation warnings and clean up CompatibiltySpec code. (#471)
There was some dubious (certainly unclear) code organization in the CompatibiltySpec tests. The isPow2() test was randomly failing in Jenkins builds. This may address the problem.
Diffstat (limited to 'src/test/scala/chiselTests/MissingCloneBindingExceptionSpec.scala')
-rw-r--r--src/test/scala/chiselTests/MissingCloneBindingExceptionSpec.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/scala/chiselTests/MissingCloneBindingExceptionSpec.scala b/src/test/scala/chiselTests/MissingCloneBindingExceptionSpec.scala
index 719484ac..bd1bade8 100644
--- a/src/test/scala/chiselTests/MissingCloneBindingExceptionSpec.scala
+++ b/src/test/scala/chiselTests/MissingCloneBindingExceptionSpec.scala
@@ -10,7 +10,7 @@ class MissingCloneBindingExceptionSpec extends ChiselFlatSpec with Matchers {
import chisel3._
class TestIO(w: Int) extends Bundle {
- val a = Vec(4, UInt(width = w)).asInput
+ val a = Vec(4, UInt(w.W)).asInput
//override def cloneType = (new TestIO(w)).asInstanceOf[this.type]
}