summaryrefslogtreecommitdiff
path: root/core/src/main/scala/chisel3/Annotation.scala
diff options
context:
space:
mode:
authorJack Koenig2020-08-10 11:03:48 -0700
committerGitHub2020-08-10 11:03:48 -0700
commitf103ce0e468e106f4758f7b6a0088d909cc5c152 (patch)
tree0cfba6e48f2ddd0f47967a6daa30f2496457f134 /core/src/main/scala/chisel3/Annotation.scala
parentf13b29d163610c8a39093ec1da4cced067e520da (diff)
Remove ChiselLegacyAnnotation (#1544)
It was private and unused
Diffstat (limited to 'core/src/main/scala/chisel3/Annotation.scala')
-rw-r--r--core/src/main/scala/chisel3/Annotation.scala10
1 files changed, 0 insertions, 10 deletions
diff --git a/core/src/main/scala/chisel3/Annotation.scala b/core/src/main/scala/chisel3/Annotation.scala
index 104fc575..b24fa09b 100644
--- a/core/src/main/scala/chisel3/Annotation.scala
+++ b/core/src/main/scala/chisel3/Annotation.scala
@@ -29,16 +29,6 @@ trait RunFirrtlTransform extends ChiselAnnotation {
def transformClass: Class[_ <: Transform]
}
-
-// This exists for implementation reasons, we don't want people using this type directly
-final case class ChiselLegacyAnnotation private[chisel3] (
- component: InstanceId,
- transformClass: Class[_ <: Transform],
- value: String) extends ChiselAnnotation with RunFirrtlTransform {
- def toFirrtl: Annotation = Annotation(component.toNamed, transformClass, value)
-}
-private[chisel3] object ChiselLegacyAnnotation
-
object annotate {
def apply(anno: ChiselAnnotation): Unit = {
Builder.annotations += anno