diff options
| author | Jack Koenig | 2020-08-10 11:03:48 -0700 |
|---|---|---|
| committer | GitHub | 2020-08-10 11:03:48 -0700 |
| commit | f103ce0e468e106f4758f7b6a0088d909cc5c152 (patch) | |
| tree | 0cfba6e48f2ddd0f47967a6daa30f2496457f134 /core/src/main/scala/chisel3/Annotation.scala | |
| parent | f13b29d163610c8a39093ec1da4cced067e520da (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.scala | 10 |
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 |
