diff options
| author | Jim Lawson | 2016-10-24 10:54:14 -0700 |
|---|---|---|
| committer | GitHub | 2016-10-24 10:54:14 -0700 |
| commit | ae62ebe5e826c55eacaeaa83a4e6db975ab5d8a1 (patch) | |
| tree | 1393bbb14303af86aeb5e5ed0375f302864b8307 /chiselFrontend/src/main/scala/chisel3/core/Bits.scala | |
| parent | 5df30b390ae5817c4793c6d4e0c5466d96d241f1 (diff) | |
| parent | b0b5fd3140186651eb558bd6f4ca51c618deacc9 (diff) | |
Merge pull request #212 from ucb-bar/tobits-deprecation
Tobits deprecation
Diffstat (limited to 'chiselFrontend/src/main/scala/chisel3/core/Bits.scala')
| -rw-r--r-- | chiselFrontend/src/main/scala/chisel3/core/Bits.scala | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/chiselFrontend/src/main/scala/chisel3/core/Bits.scala b/chiselFrontend/src/main/scala/chisel3/core/Bits.scala index c4161a32..a5d954b6 100644 --- a/chiselFrontend/src/main/scala/chisel3/core/Bits.scala +++ b/chiselFrontend/src/main/scala/chisel3/core/Bits.scala @@ -282,9 +282,6 @@ sealed abstract class Bits(width: Width, override val litArg: Option[LitArg]) pushOp(DefPrim(sourceInfo, UInt(w), ConcatOp, this.ref, that.ref)) } - @deprecated("Use asUInt, which does the same thing but makes the reinterpret cast more explicit", "chisel3") - override def toBits: UInt = do_asUInt(DeprecatedSourceInfo) - override def do_fromBits(that: Bits)(implicit sourceInfo: SourceInfo): this.type = { val res = Wire(this, null).asInstanceOf[this.type] res := that |
