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 --- src/main/scala/chisel3/util/Enum.scala | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'src/main/scala/chisel3/util/Enum.scala') diff --git a/src/main/scala/chisel3/util/Enum.scala b/src/main/scala/chisel3/util/Enum.scala index eaec3c04..3fb9f9e4 100644 --- a/src/main/scala/chisel3/util/Enum.scala +++ b/src/main/scala/chisel3/util/Enum.scala @@ -39,12 +39,4 @@ trait Enum { def apply(n: Int): List[UInt] = createValues(n).toList } -object Enum extends Enum { - @chiselRuntimeDeprecated - @deprecated("use Enum(n)", "chisel3, will be removed soon") - def apply[T <: Bits](nodeType: T, n: Int): List[T] = { - require(nodeType.isInstanceOf[UInt], "Only UInt supported for enums") - require(!nodeType.widthKnown, "Bit width may no longer be specified for enums") - apply(n).asInstanceOf[List[T]] - } -} +object Enum extends Enum -- cgit v1.2.3