diff options
| author | Andrew Waterman | 2016-09-02 11:14:57 -0700 |
|---|---|---|
| committer | Andrew Waterman | 2016-09-02 11:14:57 -0700 |
| commit | 16426b3a68d85ce7dd9655b0ce773431eb69fc74 (patch) | |
| tree | a40d73ca9f3ea64791f40ee3885f892450da226d /chiselFrontend/src/main/scala/chisel3/core/Data.scala | |
| parent | ace6afb3177fbb14b8b85a16d6724ce784277f95 (diff) | |
Deprecate asBits; modify deprecation warnings accordingly
Diffstat (limited to 'chiselFrontend/src/main/scala/chisel3/core/Data.scala')
| -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 8826af51..5ae8c84d 100644 --- a/chiselFrontend/src/main/scala/chisel3/core/Data.scala +++ b/chiselFrontend/src/main/scala/chisel3/core/Data.scala @@ -118,7 +118,7 @@ abstract class Data(dirArg: Direction) extends HasId { * * This performs the inverse operation of fromBits(Bits). */ - @deprecated("Use asBits, which makes the reinterpret cast more explicit and actually returns Bits", "chisel3") + @deprecated("Use asUInt, which does the same thing but makes the reinterpret cast more explicit", "chisel3") def toBits(): UInt = SeqUtils.do_asUInt(this.flatten)(DeprecatedSourceInfo) /** Reinterpret cast to UInt. |
