From 6ed81bc6c6d0f0e8cb57eb3cedb73feab204ef6e Mon Sep 17 00:00:00 2001 From: Jim Lawson Date: Mon, 23 Mar 2020 14:31:12 -0700 Subject: Remove toNamed (and friends) deprecation. (#1377) * Remove toNamed (and friends) deprecation. * Add inadvertently deleted leading double quote. * Remove commented out deprecations.--- chiselFrontend/src/main/scala/chisel3/Module.scala | 1 - chiselFrontend/src/main/scala/chisel3/internal/Builder.scala | 2 -- 2 files changed, 3 deletions(-) (limited to 'chiselFrontend/src/main/scala/chisel3') diff --git a/chiselFrontend/src/main/scala/chisel3/Module.scala b/chiselFrontend/src/main/scala/chisel3/Module.scala index 5642840f..f1c4e30a 100644 --- a/chiselFrontend/src/main/scala/chisel3/Module.scala +++ b/chiselFrontend/src/main/scala/chisel3/Module.scala @@ -258,7 +258,6 @@ package experimental { * * @note Should not be called until circuit elaboration is complete */ - @deprecated("toNamed API is deprecated -- use toTarget instead", "3.2") final def toNamed: ModuleName = toTarget.toNamed /** Returns a FIRRTL ModuleTarget that references this object diff --git a/chiselFrontend/src/main/scala/chisel3/internal/Builder.scala b/chiselFrontend/src/main/scala/chisel3/internal/Builder.scala index c119315d..773a9ad1 100644 --- a/chiselFrontend/src/main/scala/chisel3/internal/Builder.scala +++ b/chiselFrontend/src/main/scala/chisel3/internal/Builder.scala @@ -70,7 +70,6 @@ trait InstanceId { def parentPathName: String def parentModName: String /** Returns a FIRRTL Named that refers to this object in the elaborated hardware graph */ - @deprecated("toNamed API is deprecated -- use toTarget instead", "3.2") def toNamed: Named /** Returns a FIRRTL IsMember that refers to this object in the elaborated hardware graph */ def toTarget: IsMember @@ -169,7 +168,6 @@ private[chisel3] trait NamedComponent extends HasId { /** Returns a FIRRTL ComponentName that references this object * @note Should not be called until circuit elaboration is complete */ - @deprecated("toNamed API is deprecated -- use toTarget instead", "3.2") final def toNamed: ComponentName = ComponentName(this.instanceName, ModuleName(this.parentModName, CircuitName(this.circuitName))) -- cgit v1.2.3