c

midas.passes

AnnotationParameterizedWiringTransform

class AnnotationParameterizedWiringTransform[SourceType <: SingleTargetAnnotation[ReferenceTarget], SinkType <: SingleTargetAnnotation[ReferenceTarget]] extends Transform with DependencyAPIMigration

A type-parameterized wrapper for the WiringTransform that accepts a specific Source and Sink annotation pair. It collects and maps these specific annotations into WiringAnnotations.

This permits sources and sinks for different features to exist without having to wire them all at once (since some passes in the compiler may inject new sinks or sources, before their opposite has been added).

Linear Supertypes
DependencyAPIMigration, Transform, DependencyAPI[Transform], TransformLike[CircuitState], LazyLogging, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AnnotationParameterizedWiringTransform
  2. DependencyAPIMigration
  3. Transform
  4. DependencyAPI
  5. TransformLike
  6. LazyLogging
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new AnnotationParameterizedWiringTransform(expectsExactlyOneSource: Boolean, expectsAtLeastOneSink: Boolean)(implicit arg0: ClassTag[SourceType], arg1: ClassTag[SinkType])

    expectsExactlyOneSource

    When set, the pass will throw an exception if no SourceType annotation is found. Otherwise, no changes to the circuit are made (though SinkType annotations will be removed).

    expectsAtLeastOneSink

    When set, the pass will throw an exception if no SinkType annotations are found. Otherwise, no changes to the circuit are made (though SourceType annotations will be removed).

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  8. def execute(state: CircuitState): CircuitState
    Definition Classes
    AnnotationParameterizedWiringTransform → Transform
  9. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  10. def getLogger: Logger
    Definition Classes
    LazyLogging
  11. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  12. def invalidates(a: Transform): Boolean
    Definition Classes
    AnnotationParameterizedWiringTransform → DependencyAPIMigration → Transform → DependencyAPI
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. val logger: Logger
    Attributes
    protected
    Definition Classes
    LazyLogging
  15. def name: String
    Definition Classes
    Transform → TransformLike
  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  19. def optionalPrerequisiteOf: Seq[Dependency[Emitter]]
    Definition Classes
    AnnotationParameterizedWiringTransform → DependencyAPIMigration → Transform → DependencyAPI
  20. def optionalPrerequisites: Seq[Nothing]
    Definition Classes
    AnnotationParameterizedWiringTransform → DependencyAPIMigration → Transform → DependencyAPI
  21. def prerequisites: Seq[TransformDependency]
    Definition Classes
    AnnotationParameterizedWiringTransform → DependencyAPIMigration → Transform → DependencyAPI
  22. final def runTransform(state: CircuitState): CircuitState
    Definition Classes
    Transform
  23. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  24. def toString(): String
    Definition Classes
    AnyRef → Any
  25. def transform(state: CircuitState): CircuitState
    Definition Classes
    Transform → TransformLike
  26. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  27. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  28. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def dependents: Seq[Dependency[Transform]]
    Definition Classes
    DependencyAPI
    Annotations
    @deprecated
    Deprecated

    (Since version FIRRTL 1.3) Due to confusion, 'dependents' is being renamed to 'optionalPrerequisiteOf'. Override the latter instead.

  2. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated
  3. final def inputForm: CircuitForm
    Definition Classes
    DependencyAPIMigration
    Annotations
    @deprecated
    Deprecated

    (Since version FIRRTL 1.3) Use Dependency API methods for equivalent functionality. See: https://bit.ly/2Voppre

  4. final def outputForm: CircuitForm
    Definition Classes
    DependencyAPIMigration
    Annotations
    @deprecated
    Deprecated

    (Since version FIRRTL 1.3) Use Dependency API methods for equivalent functionality. See: https://bit.ly/2Voppre

Inherited from DependencyAPIMigration

Inherited from Transform

Inherited from DependencyAPI[Transform]

Inherited from TransformLike[CircuitState]

Inherited from LazyLogging

Inherited from AnyRef

Inherited from Any

Ungrouped