aboutsummaryrefslogtreecommitdiff
path: root/src/main/scala/firrtl/package.scala
blob: fc07e05de90dea61f8db7c0086004be89488ea73 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// See LICENSE for license details.

import firrtl.AnnotationSeq
import firrtl.annotations.Annotation

package object firrtl {
  implicit def seqToAnnoSeq(xs: Seq[Annotation]) = AnnotationSeq(xs)
  implicit def annoSeqToSeq(as: AnnotationSeq): Seq[Annotation] = as.underlying

  /* Options as annotations compatibility items */
  @deprecated("Use firrtl.stage.TargetDirAnnotation", "1.2")
  type TargetDirAnnotation = firrtl.options.TargetDirAnnotation

  @deprecated("Use firrtl.stage.TargetDirAnnotation", "1.2")
  val TargetDirAnnotation = firrtl.options.TargetDirAnnotation
}