Packages

c

chisel3.stage.phases

AddSerializationAnnotations

class AddSerializationAnnotations extends Phase

Source
AddSerializationAnnotations.scala
Linear Supertypes
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AddSerializationAnnotations
  2. Phase
  3. DependencyAPI
  4. TransformLike
  5. LazyLogging
  6. AnyRef
  7. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new AddSerializationAnnotations()

Value Members

  1. def getLogger: Logger
    Definition Classes
    LazyLogging
  2. def invalidates(a: Phase): Boolean

    A function that, given *another* transform (parameter a) will return true if this transform invalidates/undos the effects of the *other* transform (parameter a).

    A function that, given *another* transform (parameter a) will return true if this transform invalidates/undos the effects of the *other* transform (parameter a).

    a

    transform

    Definition Classes
    AddSerializationAnnotationsDependencyAPI
  3. lazy val name: String

    The name of this Phase.

    The name of this Phase. This will be used to generate debug/error messages or when deleting annotations. This will default to the simpleName of the class.

    returns

    this phase's name

    Definition Classes
    PhaseTransformLike
    Note

    Override this with your own implementation for different naming behavior.

  4. def optionalPrerequisiteOf: Seq[Nothing]

    A sequence of transforms to add this transform as an optionalPrerequisite.

    A sequence of transforms to add this transform as an optionalPrerequisite. The use of optionalPrerequisiteOf enables the transform declaring them to always run before some other transforms. However, declaring optionalPrerequisiteOf will not result in the sequence of transforms executing.

    This is useful for providing an ordering constraint to guarantee that other transforms (e.g., emitters) will not be scheduled before you.

    Definition Classes
    AddSerializationAnnotationsDependencyAPI
    Note

    This method **will not** result in the listed transforms running. If you want to add multiple transforms at once, you should use a DependencyManager with multiple targets.

  5. def optionalPrerequisites: Seq[Nothing]

    All transforms that, if a prerequisite of *another* transform, will run before this transform.

    All transforms that, if a prerequisite of *another* transform, will run before this transform.

    Definition Classes
    AddSerializationAnnotationsDependencyAPI
    Note

    The use of a Seq here is to preserve input order. Internally, this will be converted to a private, ordered Set.

  6. def prerequisites: Seq[Dependency[Phase { ... /* 2 definitions in type refinement */ }]]

    All transform that must run before this transform

    All transform that must run before this transform

    Definition Classes
    AddSerializationAnnotationsDependencyAPI
    Note

    The use of a Seq here is to preserve input order. Internally, this will be converted to a private, ordered Set.

  7. def transform(annotations: AnnotationSeq): AnnotationSeq

    A mathematical transform on some type

    A mathematical transform on some type

    returns

    an output object of the same type

    Definition Classes
    AddSerializationAnnotationsTransformLike