summaryrefslogtreecommitdiff
path: root/src/test/scala/chiselTests/Clock.scala
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/scala/chiselTests/Clock.scala')
-rw-r--r--src/test/scala/chiselTests/Clock.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/scala/chiselTests/Clock.scala b/src/test/scala/chiselTests/Clock.scala
index 79dd2de4..78d60ed2 100644
--- a/src/test/scala/chiselTests/Clock.scala
+++ b/src/test/scala/chiselTests/Clock.scala
@@ -10,7 +10,7 @@ import chisel3.testers.BasicTester
import chisel3.util._
class ClockAsUIntTester extends BasicTester {
- assert(Bool(true).asClock.asUInt === UInt(1))
+ assert(true.B.asClock.asUInt === 1.U)
stop()
}