aboutsummaryrefslogtreecommitdiff
path: root/src/main/scala/firrtl/options/phases/ConvertLegacyAnnotations.scala
blob: 8a363b58a6891fa010bfeb33463e53f6547bef04 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// SPDX-License-Identifier: Apache-2.0

package firrtl.options.phases

import firrtl.AnnotationSeq
import firrtl.options.{Dependency, Phase}

@deprecated("LegacyAnnotation has been removed, this is a no-op", "FIRRTL 1.4")
class ConvertLegacyAnnotations extends Phase {

  override def prerequisites = Seq(Dependency[GetIncludes])

  override def optionalPrerequisiteOf = Seq.empty

  override def invalidates(a: Phase) = false

  def transform(annotations: AnnotationSeq): AnnotationSeq = annotations
}