Packages

o

firrtl

CompilerUtils

object CompilerUtils extends LazyLogging

Annotations
@deprecated
Deprecated

(Since version FIRRTL 1.3) This will be removed in 1.4

Source
Compiler.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CompilerUtils
  2. LazyLogging
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

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( ... ) @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  10. def getLogger: Logger
    Definition Classes
    LazyLogging
  11. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. val logger: Logger
    Attributes
    protected
    Definition Classes
    LazyLogging
  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  16. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  17. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  18. def toString(): String
    Definition Classes
    AnyRef → Any
  19. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  20. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  21. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Deprecated Value Members

  1. def getLoweringTransforms(inputForm: CircuitForm, outputForm: CircuitForm): Seq[Transform]

    Generates a sequence of Transforms to lower a Firrtl circuit

    Generates a sequence of Transforms to lower a Firrtl circuit

    inputForm

    CircuitForm to lower from

    outputForm

    CircuitForm to lower to

    returns

    Sequence of transforms that will lower if outputForm is lower than inputForm

    Annotations
    @deprecated
    Deprecated

    (Since version FIRRTL 1.3) Use a TransformManager requesting which transforms you want to run. This will be removed in 1.4.

  2. def mergeTransforms(lowering: Seq[Transform], custom: Seq[Transform]): Seq[Transform]

    Merge a Seq of lowering transforms with custom transforms

    Merge a Seq of lowering transforms with custom transforms

    Custom Transforms are inserted based on their Transform.inputForm and Transform.outputForm with any Emitters being scheduled last. Custom transforms are inserted in order at the last location in the Seq of transforms where previous.outputForm == customTransform.inputForm. If a customTransform outputs a higher form than input, getLoweringTransforms is used to relower the circuit.

    Annotations
    @deprecated
    Deprecated

    (Since version FIRRTL 1.3) Use a TransformManager requesting which transforms you want to run. This will be removed in 1.4.

    Example:
    1. // Let Transforms be represented by CircuitForm => CircuitForm
      val A = HighForm => MidForm
      val B = MidForm => LowForm
      val lowering = List(A, B) // Assume these transforms are used by getLoweringTransforms
      // Some custom transforms
      val C = LowForm => LowForm
      val D = MidForm => MidForm
      val E = LowForm => HighForm
      // All of the following comparisons are true
      mergeTransforms(lowering, List(C)) == List(A, B, C)
      mergeTransforms(lowering, List(D)) == List(A, D, B)
      mergeTransforms(lowering, List(E)) == List(A, B, E, A, B)
      mergeTransforms(lowering, List(C, E)) == List(A, B, C, E, A, B)
      mergeTransforms(lowering, List(E, C)) == List(A, B, E, A, B, C)
      // Notice that in the following, custom transform order is NOT preserved (see note)
      mergeTransforms(lowering, List(C, D)) == List(A, D, B, C)
    Note

    Order will be preserved for custom transforms so long as the inputForm of a latter transforms is equal to or lower than the outputForm of the previous transform.

Inherited from LazyLogging

Inherited from AnyRef

Inherited from Any

Ungrouped