diff options
| author | Jim Lawson | 2016-11-21 17:18:26 -0800 |
|---|---|---|
| committer | Andrew Waterman | 2016-11-21 17:18:26 -0800 |
| commit | 3c31b9af6b1dc9abde701edb33d4be36c192bad2 (patch) | |
| tree | 70a3466da577ff90391e7356be0bf36880977e8c /chiselFrontend | |
| parent | 11302f77c90512f81b882ad1cc623c53d45724f8 (diff) | |
Fix toBits() deprecation message (to match what it effectively does). (#379)
Data.toUInt() doesn't exist.
Diffstat (limited to 'chiselFrontend')
| -rw-r--r-- | chiselFrontend/src/main/scala/chisel3/core/Data.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chiselFrontend/src/main/scala/chisel3/core/Data.scala b/chiselFrontend/src/main/scala/chisel3/core/Data.scala index 2f18e726..57ed0c59 100644 --- a/chiselFrontend/src/main/scala/chisel3/core/Data.scala +++ b/chiselFrontend/src/main/scala/chisel3/core/Data.scala @@ -258,7 +258,7 @@ abstract class Data extends HasId { * * This performs the inverse operation of fromBits(Bits). */ - @deprecated("Best alternative, .toUInt() or if Bits really needed, .toUInt().toBits()", "chisel3") + @deprecated("Best alternative, .asUInt()", "chisel3") def toBits(): UInt = SeqUtils.do_asUInt(this.flatten)(DeprecatedSourceInfo) /** Reinterpret cast to UInt. |
