summaryrefslogtreecommitdiff
path: root/src/test/scala/cookbook/CookbookSpec.scala
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/scala/cookbook/CookbookSpec.scala')
-rw-r--r--src/test/scala/cookbook/CookbookSpec.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/scala/cookbook/CookbookSpec.scala b/src/test/scala/cookbook/CookbookSpec.scala
index b244f3cf..6ecea446 100644
--- a/src/test/scala/cookbook/CookbookSpec.scala
+++ b/src/test/scala/cookbook/CookbookSpec.scala
@@ -18,7 +18,7 @@ abstract class CookbookTester(length: Int) extends BasicTester {
// No IO allowed, cookbook tests must be self-contained
override final val io = new Bundle { }
- val (cycle, done) = Counter(Bool(true), length)
+ val (cycle, done) = Counter(true.B, length)
when (done) { stop() }
}