summaryrefslogtreecommitdiff
path: root/chiselFrontend/src/main/scala/chisel3/Data.scala
diff options
context:
space:
mode:
authorSchuyler Eldridge2019-07-30 21:59:40 -0400
committerSchuyler Eldridge2019-08-01 11:12:47 -0400
commit99cff159209ba1cc0f69f5afd2497d4bad79fbc5 (patch)
tree9a1ff4f4849e976e9866686aeafa392f33e7a5a0 /chiselFrontend/src/main/scala/chisel3/Data.scala
parent8ec50bfb99509f0af3d61b25192db8b01dc5f919 (diff)
Remove anything deprecated since before 3.2
Anything removed by this that is used by the compatibility layer is migrated to the compatibility layer. Signed-off-by: Schuyler Eldridge <schuyler.eldridge@ibm.com>
Diffstat (limited to 'chiselFrontend/src/main/scala/chisel3/Data.scala')
-rw-r--r--chiselFrontend/src/main/scala/chisel3/Data.scala32
1 files changed, 1 insertions, 31 deletions
diff --git a/chiselFrontend/src/main/scala/chisel3/Data.scala b/chiselFrontend/src/main/scala/chisel3/Data.scala
index 62424ab2..37c9622f 100644
--- a/chiselFrontend/src/main/scala/chisel3/Data.scala
+++ b/chiselFrontend/src/main/scala/chisel3/Data.scala
@@ -110,12 +110,6 @@ object ActualDirection {
}
}
-object debug { // scalastyle:ignore object.name
- @chiselRuntimeDeprecated
- @deprecated("debug doesn't do anything in Chisel3 as no pruning happens in the frontend", "chisel3")
- def apply (arg: Data): Data = arg
-}
-
package experimental {
/** Experimental hardware construction reflection API
@@ -522,14 +516,6 @@ abstract class Data extends HasId with NamedComponent with SourceInfoDoc { // sc
/** Returns Some(width) if the width is known, else None. */
final def widthOption: Option[Int] = if (isWidthKnown) Some(getWidth) else None
- /** Packs the value of this object as plain Bits.
- *
- * This performs the inverse operation of fromBits(Bits).
- */
- @chiselRuntimeDeprecated
- @deprecated("Best alternative, .asUInt()", "chisel3")
- def toBits(implicit compileOptions: CompileOptions): UInt = do_asUInt(DeprecatedSourceInfo, compileOptions)
-
/** Does a reinterpret cast of the bits in this node into the format that provides.
* Returns a new Wire of that type. Does not modify existing nodes.
*
@@ -610,23 +596,7 @@ trait WireFactory {
* }}}
*
*/
-object Wire extends WireFactory {
-
- @chiselRuntimeDeprecated
- @deprecated("Wire(init=init) is deprecated, use WireDefault(init) instead", "chisel3")
- def apply[T <: Data](dummy: Int = 0, init: T)(implicit sourceInfo: SourceInfo, compileOptions: CompileOptions): T =
- WireDefault(init)
-
- @chiselRuntimeDeprecated
- @deprecated("Wire(t, init) is deprecated, use WireDefault(t, init) instead", "chisel3")
- def apply[T <: Data](t: T, init: T)(implicit sourceInfo: SourceInfo, compileOptions: CompileOptions): T =
- WireDefault(t, init)
-
- @chiselRuntimeDeprecated
- @deprecated("Wire(t, init) is deprecated, use WireDefault(t, init) instead", "chisel3")
- def apply[T <: Data](t: T, init: DontCare.type)(implicit sourceInfo: SourceInfo, compileOptions: CompileOptions): T =
- WireDefault(t, init)
-}
+object Wire extends WireFactory
/** Utility for constructing hardware wires with a default connection
*