diff options
| author | Schuyler Eldridge | 2019-08-01 16:26:08 -0400 |
|---|---|---|
| committer | GitHub | 2019-08-01 16:26:08 -0400 |
| commit | b2a1bd7a10977d3331fee3022ec490a1aa1e0e17 (patch) | |
| tree | 059f29769a09d423b1f4e274ecce56ce570c0467 /chiselFrontend/src/main/scala/chisel3/Annotation.scala | |
| parent | ad396ea1a9c06abbe29c52802adbc6c087db0401 (diff) | |
| parent | 6c65a28756b8bb615479b1bcc420b28994419700 (diff) | |
Merge pull request #1139 from freechipsproject/deprecations-are-serious-business
Remove Deprecations since before 3.2
Diffstat (limited to 'chiselFrontend/src/main/scala/chisel3/Annotation.scala')
| -rw-r--r-- | chiselFrontend/src/main/scala/chisel3/Annotation.scala | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/chiselFrontend/src/main/scala/chisel3/Annotation.scala b/chiselFrontend/src/main/scala/chisel3/Annotation.scala index 506ec282..08119f44 100644 --- a/chiselFrontend/src/main/scala/chisel3/Annotation.scala +++ b/chiselFrontend/src/main/scala/chisel3/Annotation.scala @@ -18,17 +18,6 @@ trait ChiselAnnotation { /** Conversion to FIRRTL Annotation */ def toFirrtl: Annotation } -object ChiselAnnotation { - @deprecated("Write a custom ChiselAnnotation subclass instead", "3.1") - def apply(component: InstanceId, transformClass: Class[_ <: Transform], value: String): ChiselLegacyAnnotation = - ChiselLegacyAnnotation(component, transformClass, value) - @deprecated("Write a custom ChiselAnnotation subclass instead", "3.1") - def unapply(anno: ChiselAnnotation): Option[(InstanceId, Class[_ <: Transform], String)] = - anno match { - case ChiselLegacyAnnotation(c, t, v) => Some(c, t, v) - case _ => None - } -} /** Mixin for [[ChiselAnnotation]] that instantiates an associated FIRRTL Transform when this Annotation is present * during a run of |
