Trait

firrtl

Compiler

Related Doc: package firrtl

Permalink

trait Compiler extends LazyLogging

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

Abstract Value Members

  1. abstract def emitter: Emitter

    Permalink
  2. abstract def transforms: Seq[Transform]

    Permalink

    The sequence of transforms this compiler will execute

    The sequence of transforms this compiler will execute

    Note

    The inputForm of a given transform must be higher than or equal to the ouputForm of the preceding transform. See CircuitForm

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  6. def compile(state: CircuitState, customTransforms: Seq[Transform]): CircuitState

    Permalink

    Perform compilation

    Perform compilation

    Emission will only be performed if EmitAnnotations are present

    state

    The Firrtl AST to compile

    customTransforms

    Any custom Transforms that will be inserted into the compilation process by CompilerUtils.mergeTransforms

    returns

    result of compilation

  7. def compileAndEmit(state: CircuitState, customTransforms: Seq[Transform] = Seq.empty): CircuitState

    Permalink

    Perform compilation and emit the whole Circuit

    Perform compilation and emit the whole Circuit

    This is intended as a convenience method wrapping up Annotation creation for the common case. It creates a EmitCircuitAnnotation that will be consumed by this Transform's emitter. The EmittedCircuit can be extracted from the returned CircuitState via CircuitState.emittedCircuitOption

    state

    The Firrtl AST to compile

    customTransforms

    Any custom Transforms that will be inserted into the compilation process by CompilerUtils.mergeTransforms

    returns

    result of compilation with emitted circuit annotated

  8. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  10. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  11. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  12. def inputForm: CircuitForm

    Permalink
  13. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  14. val logger: Logger

    Permalink
    Definition Classes
    LazyLogging
  15. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  16. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  17. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  18. def outputForm: CircuitForm

    Permalink
  19. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  20. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  21. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def compile(state: CircuitState, writer: Writer, customTransforms: Seq[Transform] = Seq.empty): CircuitState

    Permalink

    Perform compilation

    Perform compilation

    state

    The Firrtl AST to compile

    writer

    The java.io.Writer where the output of compilation will be emitted

    customTransforms

    Any custom Transforms that will be inserted into the compilation process by CompilerUtils.mergeTransforms

    Annotations
    @deprecated
    Deprecated

    (Since version firrtl 1.0) Please use compileAndEmit or other compile method instead

  2. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from LazyLogging

Inherited from AnyRef

Inherited from Any

Ungrouped