diff options
| author | Jim Lawson | 2020-01-22 15:30:13 -0800 |
|---|---|---|
| committer | Jim Lawson | 2020-01-22 15:30:13 -0800 |
| commit | 86e92931dd1c83a863e14b382e9f094e8b18bc5c (patch) | |
| tree | 76ea5f0b3dc4953af9df4ad3c0a0ed2961951c63 /chiselFrontend | |
| parent | 771b63c128a862de3c942c2a5c1bd1802a39c3f1 (diff) | |
Update comment for Clock.asBool()
Diffstat (limited to 'chiselFrontend')
| -rw-r--r-- | chiselFrontend/src/main/scala/chisel3/Clock.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chiselFrontend/src/main/scala/chisel3/Clock.scala b/chiselFrontend/src/main/scala/chisel3/Clock.scala index aad515e4..d7975b1e 100644 --- a/chiselFrontend/src/main/scala/chisel3/Clock.scala +++ b/chiselFrontend/src/main/scala/chisel3/Clock.scala @@ -31,7 +31,7 @@ sealed class Clock(private[chisel3] val width: Width = Width(1)) extends Element /** Not really supported */ def toPrintable: Printable = PString("CLOCK") - /** Returns the contents of this wire as a [[scala.collection.Seq]] of [[Bool]]. */ + /** Returns the contents of the clock wire as a [[Bool]]. */ final def asBool(): Bool = macro SourceInfoTransform.noArg def do_asBool(implicit sourceInfo: SourceInfo, compileOptions: CompileOptions): Bool = this.asUInt().asBool() |
