From 08918522ff485363f440d549370cc1ec3205d8cd Mon Sep 17 00:00:00 2001 From: Schuyler Eldridge Date: Tue, 30 Jul 2019 17:57:09 -0400 Subject: Clarify Module deprecations This adds a clarification to the deprecation message for RawModule, MultiIOModule, UserModule, and ImplicitModule. While these were technically deprecated "since the beginning of time", this adds a comment that these aliases will be removed in 3.3. Signed-off-by: Schuyler Eldridge --- chiselFrontend/src/main/scala/chisel3/core/package.scala | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'chiselFrontend/src/main/scala/chisel3/core') diff --git a/chiselFrontend/src/main/scala/chisel3/core/package.scala b/chiselFrontend/src/main/scala/chisel3/core/package.scala index 9ca4f117..27c34950 100644 --- a/chiselFrontend/src/main/scala/chisel3/core/package.scala +++ b/chiselFrontend/src/main/scala/chisel3/core/package.scala @@ -62,16 +62,16 @@ package object core { // These provide temporary compatibility for those who foolishly imported from chisel3.core @deprecated("Avoid importing from chisel3.core, these are not public APIs and may change at any time. " + - " Use chisel3.experimental.RawModule instead.", "since the beginning of time") + " Use chisel3.experimental.RawModule instead. This alias will be removed in 3.3.", "since the beginning of time") type RawModule = chisel3.experimental.RawModule @deprecated("Avoid importing from chisel3.core, these are not public APIs and may change at any time. " + - "Use chisel3.experimental.MultiIOModule instead.", "since the beginning of time") + "Use chisel3.experimental.MultiIOModule instead. This alias will be removed in 3.3.", "since the beginning of time") type MultiIOModule = chisel3.experimental.MultiIOModule @deprecated("Avoid importing from chisel3.core, these are not public APIs and may change at any time. " + - " Use chisel3.experimental.RawModule instead.", "since the beginning of time") + " Use chisel3.experimental.RawModule instead. This alias will be removed in 3.3.", "since the beginning of time") type UserModule = chisel3.experimental.RawModule @deprecated("Avoid importing from chisel3.core, these are not public APIs and may change at any time. " + - "Use chisel3.experimental.MultiIOModule instead.", "since the beginning of time") + "Use chisel3.experimental.MultiIOModule instead. This alias will be removed in 3.3.", "since the beginning of time") type ImplicitModule = chisel3.experimental.MultiIOModule @deprecated("Use the version in chisel3._", "3.2") -- cgit v1.2.3 From 99cff159209ba1cc0f69f5afd2497d4bad79fbc5 Mon Sep 17 00:00:00 2001 From: Schuyler Eldridge Date: Tue, 30 Jul 2019 21:59:40 -0400 Subject: 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 --- chiselFrontend/src/main/scala/chisel3/core/package.scala | 4 ---- 1 file changed, 4 deletions(-) (limited to 'chiselFrontend/src/main/scala/chisel3/core') diff --git a/chiselFrontend/src/main/scala/chisel3/core/package.scala b/chiselFrontend/src/main/scala/chisel3/core/package.scala index 27c34950..13a89971 100644 --- a/chiselFrontend/src/main/scala/chisel3/core/package.scala +++ b/chiselFrontend/src/main/scala/chisel3/core/package.scala @@ -233,10 +233,6 @@ package object core { @deprecated("Use the version in chisel3.experimental._", "3.2") implicit class fromIntToBinaryPoint(int: Int) extends experimental.FixedPoint.Implicits.fromIntToBinaryPoint(int) - @deprecated("Use the version in chisel3.experimental._", "3.2") - type ChiselAnnotation = chisel3.experimental.ChiselAnnotation - @deprecated("Use the version in chisel3.experimental._", "3.2") - val ChiselAnnotation = chisel3.experimental.ChiselAnnotation @deprecated("Use the version in chisel3.experimental._", "3.2") type RunFirrtlTransform = chisel3.experimental.RunFirrtlTransform -- cgit v1.2.3